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

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Mon Feb 18 09:34:50 PST 2008


Author: mturk
Date: Mon Feb 18 09:34:49 2008
New Revision: 379
URL: http://yt.spacepope.org/changeset/379

Log:
Fix for packed AMR getting the wrong data in a slice.



Modified:
   trunk/yt/lagos/DataReadingFuncs.py

Modified: trunk/yt/lagos/DataReadingFuncs.py
==============================================================================
--- trunk/yt/lagos/DataReadingFuncs.py	(original)
+++ trunk/yt/lagos/DataReadingFuncs.py	Mon Feb 18 09:34:49 2008
@@ -143,7 +143,7 @@
     @type sl: SliceType
     """
     f = tables.openFile(grid.filename, nodeCacheSize=1)
-    ss = f.getNode("/Grid%08i" % (grid.id), field)[sl]
+    ss = f.getNode("/Grid%08i" % (grid.id), field)[sl].transpose()
     f.close()
     return ss
 



More information about the yt-svn mailing list