[Yt-svn] yt-commit r1250 - trunk/yt/extensions

britton at wrangler.dreamhost.com britton at wrangler.dreamhost.com
Tue Apr 7 13:38:34 PDT 2009


Author: britton
Date: Tue Apr  7 13:38:33 2009
New Revision: 1250
URL: http://yt.spacepope.org/changeset/1250

Log:
Added 'id' tag for halos='single' mode for halo profiler.


Modified:
   trunk/yt/extensions/HaloProfiler.py

Modified: trunk/yt/extensions/HaloProfiler.py
==============================================================================
--- trunk/yt/extensions/HaloProfiler.py	(original)
+++ trunk/yt/extensions/HaloProfiler.py	Tue Apr  7 13:38:33 2009
@@ -103,6 +103,7 @@
             singleHalo = {}
             singleHalo['center'] = center
             singleHalo['r_max'] = self.haloRadius * self.pf.units['mpc']
+            singleHalo['id'] = 0
             self.hopHalos.append(singleHalo)
         elif self.halos is 'multiple':
             # Get hop data.



More information about the yt-svn mailing list