<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi,<br>
    I am running into an error when trying to build the merger tree
    database for a dark matter only unigrid simulation. The error is as
    follows:<br>
    <br>
    <i>/turing/home/tszkali2/yt-ppc64/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py:27:
      DeprecationWarning: the md5 module is deprecated; use hashlib
      instead<br>
        import os, glob, time, gc, md5, sys<br>
      yt         ERROR      2011-02-15 17:22:56,701 Couldn't figure out
      output type for DD0025/DD0025<br>
      Traceback (most recent call last):<br>
        File "MergerTree.py", line 25, in <module><br>
          MergerTree(restart_files=files, database=my_database)<br>
        File
      "/turing/home/tszkali2/yt-ppc64/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py",
      line 186, in __init__<br>
          self._run_halo_finder_add_to_db()<br>
        File
      "/turing/home/tszkali2/yt-ppc64/src/yt-hg/yt/analysis_modules/halo_merger_tree/merger_tree.py",
      line 219, in _run_halo_finder_add_to_db<br>
          self.period = self.pf.domain_right_edge -
      self.pf.domain_left_edge<br>
      AttributeError: 'MergerTree' object has no attribute 'pf'</i><br>
    <br>
    Does anyone know why it "couldn't figure out output type for
    DD0025/DD0025"? I load DD0025/DD0025 separately it is just fine.<br>
    <br>
    The script I used is just the basic one from the online
    documentation:<br>
    <br>
    <i>from yt.analysis_modules.halo_merger_tree.api import *<br>
      <br>
      # Pick our snapshots to use.<br>
      <br>
      files = []<br>
      start = 25<br>
      finish = 320<br>
      for i in range(start, finish + 1):<br>
          files.append('DD%04d/DD%04d' % (i, i))<br>
      <br>
      my_database = 'halos.db'<br>
      <br>
      # Build the tree.<br>
      MergerTree(restart_files=files, database=my_database)<br>
    </i><br>
    I am using yt v2.0 and enzo v2.0.<br>
    <br>
    Thank you very much for answering my question.<br>
    <br>
    Cheers,<br>
    Tsz Ka<br>
  </body>
</html>