[Yt-svn] yt: Fixed HaloProfiler's interface with the PlotCollection.
hg at spacepope.org
hg at spacepope.org
Fri Jun 11 10:19:51 PDT 2010
hg Repository: yt
details: yt/rev/03ca254dc44f
changeset: 1773:03ca254dc44f
user: Britton Smith <brittonsmith at gmail.com>
date:
Fri Jun 11 11:17:59 2010 -0600
description:
Fixed HaloProfiler's interface with the PlotCollection.
diffstat:
yt/extensions/halo_profiler.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r f7eee486e2b4 -r 03ca254dc44f yt/extensions/halo_profiler.py
--- a/yt/extensions/halo_profiler.py Fri Jun 11 10:12:35 2010 -0700
+++ b/yt/extensions/halo_profiler.py Fri Jun 11 11:17:59 2010 -0600
@@ -394,7 +394,7 @@
return profile
@lagos.parallel_blocking_call
- def make_projections(self, axes=[0, 1, 2], halo_list='filtered', save_images=False, save_cube=True, **kwargs):
+ def make_projections(self, axes=[0, 1, 2], halo_list='filtered', save_images=False, save_cube=True):
"Make projections of all halos using specified fields."
# Get list of halos for projecting.
@@ -468,8 +468,8 @@
y_axis = coords[1]
for hp in self.projection_fields:
- pc.add_projection(hp['field'], w, weight_field=hp['weight_field'], source=region, lazy_reader=False,
- serialize=False, **kwargs)
+ pc.add_projection(hp['field'], w, weight_field=hp['weight_field'], data_source=region, lazy_reader=False,
+ serialize=False)
# Set x and y limits, shift image if it overlaps domain boundary.
if need_per:
More information about the yt-svn
mailing list