[Yt-svn] yt: Fixing an import issue in the analyze command.

hg at spacepope.org hg at spacepope.org
Wed Dec 1 21:36:12 PST 2010


hg Repository: yt
details:   yt/rev/75c252bbb84d
changeset: 3566:75c252bbb84d
user:      Matthew Turk <matthewturk at gmail.com>
date:
Wed Dec 01 21:35:49 2010 -0800
description:
Fixing an import issue in the analyze command.

diffstat:

 yt/utilities/command_line.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 80139ad4948b -r 75c252bbb84d yt/utilities/command_line.py
--- a/yt/utilities/command_line.py	Wed Dec 01 18:11:40 2010 -0800
+++ b/yt/utilities/command_line.py	Wed Dec 01 21:35:49 2010 -0800
@@ -404,7 +404,7 @@
 
         ${cmd_option_list}
         """
-        import yt.extensions.HaloProfiler as HP
+        import yt.analysis_modules.halo_profiler.api as HP
         kwargs = {'halos': opts.halos,
                   'hop_style': opts.halo_hop_style,
                   'radius': opts.halo_radius,
@@ -546,7 +546,7 @@
         #   Halo profiling (default parameters ONLY)
         #   Projections: Density, Temperature
         #   Full-box distribution functions
-        import yt.extensions.HaloProfiler as HP
+        import yt.analysis_modules.halo_profiler.api as HP
         hp = HP.HaloProfiler(arg)
         # Add a filter to remove halos that have no profile points with overdensity
         # above 200, and with virial masses less than 1e14 solar masses.



More information about the yt-svn mailing list