<div dir="ltr"><div>Hi Luigi,<br><br>It looks like there is a strange line in the parameter file of one of your datasets and yt is failing trying to parse it.  You should be able to reproduce this problem by doing pf = load(<filename>) for each of the datasets.  When you figure out which one it is, can you post it with yt_lodgeit.py and let us have a look?<br>
<br></div>Britton<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 13, 2013 at 2:51 PM, Luigi Iapichino <span dir="ltr"><<a href="mailto:luigi@uni-heidelberg.de" target="_blank">luigi@uni-heidelberg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
I'm trying to analyse (with the latest yt 2.5.5) a whole dataset from a<br>
cosmological simulation of mine, run with Enzo 2.1, and to extract the merger<br>
tree of the most massive halo in the box. I'm trying to run the script<br>
presented at the bottom of:<br>
<br>
<a href="http://yt-project.org/doc/analysis_modules/merger_tree.html" target="_blank">http://yt-project.org/doc/analysis_modules/merger_tree.html</a><br>
<br>
but I get the following output:<br>
<br>
yt : [INFO     ] 2013-09-13 15:46:28,359 Loading plugins<br>
from /home/hpc/pr95he/lu79qey3/.yt/my_plugins.py<br>
Traceback (most recent call last):<br>
  File "./merger-tree.py", line 32, in <module><br>
    MergerTree(restart_files=files, database=my_database)<br>
<br>
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py",<br>
line 200, in __init__<br>
    self._run_halo_finder_add_to_db()<br>
<br>
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py",<br>
line 246, in _run_halo_finder_add_to_db<br>
    pf = load(file)<br>
<br>
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/convenience.py",<br>
line 77, in load<br>
    return output_type_registry[candidates[0]](*args, **kwargs)<br>
<br>
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/frontends/enzo/data_structures.py",<br>
line 727, in __init__<br>
    StaticOutput.__init__(self, filename, data_style, file_style=file_style)<br>
<br>
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/data_objects/static_output.py",<br>
line 104, in __init__<br>
    self._parse_parameter_file()<br>
<br>
File "/home/hpc/pr95he/lu79qey3/remotefs/yt-2.5/src/yt-hg/yt/frontends/enzo/data_structures.py",<br>
line 838, in _parse_parameter_file<br>
    vals = np.array([pcast(i) for i in vals if i != "-99999"])<br>
ValueError: could not convert string to float: #<br>
<br>
<br>
I am pretty sure that the paths to the files and to the database to be saved<br>
are sensible.<br>
Looking forward to your suggestions,<br>
Cheers,<br>
<br>
  Luigi<br>
<br>
--<br>
<br>
---------------------------------------------------------------<br>
<br>
Luigi Iapichino<br>
Universität Heidelberg, Zentrum für Astronomie<br>
Institut für Theoretische Astrophysik<br>
Philosophenweg 12, D-69120 Heidelberg, Germany<br>
Tel: +49 6221 548983, Fax: +49 6221 544221<br>
e-mail: <a href="mailto:luigi@uni-heidelberg.de">luigi@uni-heidelberg.de</a><br>
URL: <a href="http://www.ita.uni-heidelberg.de/~luigi/" target="_blank">http://www.ita.uni-heidelberg.de/~luigi/</a><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div>