[Yt-svn] yt-commit r896 - trunk/examples

britton at wrangler.dreamhost.com britton at wrangler.dreamhost.com
Wed Nov 5 18:40:50 PST 2008


Author: britton
Date: Wed Nov  5 18:40:50 2008
New Revision: 896
URL: http://yt.spacepope.org/changeset/896

Log:
This should actually work now.



Modified:
   trunk/examples/runHaloProfiler.py

Modified: trunk/examples/runHaloProfiler.py
==============================================================================
--- trunk/examples/runHaloProfiler.py	(original)
+++ trunk/examples/runHaloProfiler.py	Wed Nov  5 18:40:50 2008
@@ -1,7 +1,7 @@
-from yt.extensions import HaloProfiler
+import yt.extensions.HaloProfiler as HP
 
 # Instantiate HaloProfiler for this dataset and load parameters from sample_halo_profiles.par.
-q = HaloProfiler("/Users/britton/EnzoRuns/cc_run/DD0232/DD0232","sample_halo_profiles.par")
+q = HP.HaloProfiler("/Users/britton/EnzoRuns/cc_run/DD0232/DD0232","sample_halo_profiler.par")
 
 # Make profiles of all halos in dataset.
 q.makeProfiles()



More information about the yt-svn mailing list