[Yt-svn] yt-commit r633 - trunk/yt

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Fri Jun 27 13:28:29 PDT 2008


Author: mturk
Date: Fri Jun 27 13:28:28 2008
New Revision: 633
URL: http://yt.spacepope.org/changeset/633

Log:
Added importerror catches around the S2PLOT stuff.



Modified:
   trunk/yt/mods.py

Modified: trunk/yt/mods.py
==============================================================================
--- trunk/yt/mods.py	(original)
+++ trunk/yt/mods.py	Fri Jun 27 13:28:28 2008
@@ -40,9 +40,13 @@
 from yt.raven import PlotCollection, \
     QuiverCallback, ParticleCallback, ContourCallback, \
     GridBoundaryCallback, UnitBoundaryCallback, \
-    LinePlotCallback, CuttingQuiverCallback, \
-    VolumeRenderingDataCube, VolumeRendering3DProfile, \
-    HaloMassesPositionPlot
+    LinePlotCallback, CuttingQuiverCallback
+
+try:
+    from yt.raven import VolumeRenderingDataCube, \
+        VolumeRendering3DProfile, HaloMassesPositionPlot
+except ImportError:
+    pass
 
 from yt.fido import GrabCollections, OutputCollection
 



More information about the yt-svn mailing list