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

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Wed Dec 2 12:58:17 PST 2009


Author: mturk
Date: Wed Dec  2 12:58:12 2009
New Revision: 1554
URL: http://yt.enzotools.org/changeset/1554

Log:
Found and fixed a problem where the _read_exception attribute was not properly
being set in the Packed HDF5 IO handler.  This primarily fixes issues with
not_in_all fields like Dark_Matter_Density



Modified:
   trunk/yt/lagos/DataReadingFuncs.py

Modified: trunk/yt/lagos/DataReadingFuncs.py
==============================================================================
--- trunk/yt/lagos/DataReadingFuncs.py	(original)
+++ trunk/yt/lagos/DataReadingFuncs.py	Wed Dec  2 12:58:12 2009
@@ -240,6 +240,9 @@
         return HDF5LightReader.ReadListOfDatasets(
                     grid.filename, "/Grid%08i" % grid.id)
 
+    @property
+    def _read_exception(self):
+        return (exceptions.KeyError, HDF5LightReader.ReadingError)
 
 class IOHandlerInMemory(BaseIOHandler):
 



More information about the yt-svn mailing list