
Hi, Is there a syntax error in the piece below I took from run_halo_profiler.py ...
""" This is a recipe for making radial profiles and projections of all of the halos within a cosmological simulation. See :ref:`halo_profiling` for full documentation of the HaloProfiler. """ import yt.extensions.HaloProfiler as HP
# Instantiate HaloProfiler for this dataset. hp = HP.HaloProfiler("RD0002/RedshiftOutput0002")
I get the following error...
[agarwa23@tg-steele sim1]$ python run_halo_profiler.py yt.lagos INFO 2009-11-23 14:20:48,664 No HDF4 support /home/ba01/u118/agarwa23/enzo1/src/yt/doc/yt-x86_64/lib/python2.6/site-packages/IPython/Magic.py:38: DeprecationWarning: the sets module is deprecated from sets import Set Traceback (most recent call last): File "run_halo_profiler.py", line 7, in <module> import yt.extensions.HaloProfiler as HP File "/autohome/u118/agarwa23/enzo1/src/yt/yt/extensions/HaloProfiler.py", line 30, in <module> from HaloFilters import * ImportError: No module named HaloFilters
shankar

Hi Shankar,
On Mon, Nov 23, 2009 at 11:36 AM, Agarwal, Shankar sagarwal@ku.edu wrote:
Hi, Is there a syntax error in the piece below I took from run_halo_profiler.py ...
Nope, it was a bug -- when we back ported the halo profiler, we forgot to backport the halo filters. I've fixed it, so you can svn up to update. :) You shouldn't need to reinstall or rerun the setup.py file with this update.
Let me know if that doesn't work for you.
-Matt
participants (2)
-
Agarwal, Shankar
-
Matthew Turk