[Yt-svn] commit/yt: MatthewTurk: Fixing a leftover issue with the "yt halos" command from the renaming.

Bitbucket commits-noreply at bitbucket.org
Fri Apr 22 03:56:20 PDT 2011


1 new changeset in yt:

http://bitbucket.org/yt_analysis/yt/changeset/2ac5c7fd4421/
changeset:   r4184:2ac5c7fd4421
branch:      stable
user:        MatthewTurk
date:        2011-04-22 12:50:30
summary:     Fixing a leftover issue with the "yt halos" command from the renaming.
affected #:  1 file (45 bytes)

--- a/yt/utilities/command_line.py	Thu Apr 21 15:25:46 2011 -0400
+++ b/yt/utilities/command_line.py	Fri Apr 22 06:50:30 2011 -0400
@@ -380,15 +380,14 @@
         """
         import yt.analysis_modules.halo_profiler.api as HP
         kwargs = {'halos': opts.halos,
-                  'hop_style': opts.halo_hop_style,
-                  'radius': opts.halo_radius,
+                  'halo_radius': opts.halo_radius,
                   'radius_units': opts.halo_radius_units}
 
         hp = HP.HaloProfiler(arg,opts.halo_parameter_file,**kwargs)
         if opts.make_profiles:
-            hp.makeProfiles()
+            hp.make_profiles()
         if opts.make_projections:
-            hp.makeProjections()
+            hp.make_projections()
 
     @add_cmd_options(["maxw", "minw", "proj", "axis", "field", "weight",
                       "zlim", "nframes", "output", "cmap", "uboxes", "dex",

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list