[Yt-svn] yt-commit r1439 - trunk/yt/extensions
britton at wrangler.dreamhost.com
britton at wrangler.dreamhost.com
Wed Sep 9 07:39:04 PDT 2009
Author: britton
Date: Wed Sep 9 07:39:04 2009
New Revision: 1439
URL: http://yt.spacepope.org/changeset/1439
Log:
The filtered halo list now gets reset to [] at the beginning
of each call to make_profiles.
Modified:
trunk/yt/extensions/HaloProfiler.py
Modified: trunk/yt/extensions/HaloProfiler.py
==============================================================================
--- trunk/yt/extensions/HaloProfiler.py (original)
+++ trunk/yt/extensions/HaloProfiler.py Wed Sep 9 07:39:04 2009
@@ -183,6 +183,9 @@
def make_profiles(self, filename=None, prefilters=None, **kwargs):
"Make radial profiles for all halos on the list."
+ # Reset filtered halo list.
+ self.filtered_halos = []
+
# Check to see if the VirialFilter has been added to the filter list.
# If a lower mass cutoff is being used, use it to make a pre-filter.
if prefilters is None: prefilters = []
More information about the yt-svn
mailing list