[Yt-svn] yt-commit r609 - in branches/yt-generalization: tests yt/lagos
mturk at wrangler.dreamhost.com
mturk at wrangler.dreamhost.com
Mon Jun 23 07:18:18 PDT 2008
Author: mturk
Date: Mon Jun 23 07:18:17 2008
New Revision: 609
URL: http://yt.spacepope.org/changeset/609
Log:
Enzo unit tests pass. Orion has not changed.
Modified:
branches/yt-generalization/tests/get_oso.py
branches/yt-generalization/yt/lagos/BaseDataTypes.py
Modified: branches/yt-generalization/tests/get_oso.py
==============================================================================
--- branches/yt-generalization/tests/get_oso.py (original)
+++ branches/yt-generalization/tests/get_oso.py Mon Jun 23 07:18:17 2008
@@ -27,7 +27,7 @@
y1,y2 = p._axes.get_ylim()
#p.add_callback(raven.LinePlotCallback([(x1+x2)/2.0]*2, [y1,y2]))
p.add_callback(raven.GridBoundaryCallback())
- #p.set_log_field(False)
+ p.set_log_field(False)
pc.save('hi')
#for p in pc.plots: p._axes.plot([0.0,0.0],p.ylim)
Modified: branches/yt-generalization/yt/lagos/BaseDataTypes.py
==============================================================================
--- branches/yt-generalization/yt/lagos/BaseDataTypes.py (original)
+++ branches/yt-generalization/yt/lagos/BaseDataTypes.py Mon Jun 23 07:18:17 2008
@@ -902,7 +902,7 @@
% (level, self._max_level), len(grids))
for pi, grid1 in enumerate(grids):
pbar.update(pi)
- for parent in grid1.Parent:
+ for parent in ensure_list(grid1.Parent):
for grid2 in self.source._grids[grids_up][self.__overlap_masks[parent.id]]:
if self.__retval_coords[grid2.id][0].shape[0] == 0: continue
args = []
More information about the yt-svn
mailing list