[Yt-svn] yt-commit r1162 - trunk/yt/lagos

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Wed Feb 4 13:06:21 PST 2009


Author: mturk
Date: Wed Feb  4 13:06:20 2009
New Revision: 1162
URL: http://yt.spacepope.org/changeset/1162

Log:
Profiles were broken with the new check-for-dependencies thing in the
DataQueue.



Modified:
   trunk/yt/lagos/Profiles.py

Modified: trunk/yt/lagos/Profiles.py
==============================================================================
--- trunk/yt/lagos/Profiles.py	(original)
+++ trunk/yt/lagos/Profiles.py	Wed Feb  4 13:06:20 2009
@@ -65,7 +65,8 @@
                     self, fields + self._get_bin_fields())
 
     def _initialize_parallel(self, fields):
-        self._preload(self._get_grid_objs(), self._get_dependencies(fields),
+        g_objs = [g for g in self._get_grid_objs()]
+        self._preload(g_objs, self._get_dependencies(fields),
                       self._data_source.hierarchy.queue)
 
     def _lazy_add_fields(self, fields, weight, accumulation):



More information about the yt-svn mailing list