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

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Thu Apr 24 10:20:24 PDT 2008


Author: mturk
Date: Thu Apr 24 10:20:24 2008
New Revision: 411
URL: http://yt.spacepope.org/changeset/411

Log:
Removed necessary scipy imports...



Modified:
   trunk/yt/arraytypes.py

Modified: trunk/yt/arraytypes.py
==============================================================================
--- trunk/yt/arraytypes.py	(original)
+++ trunk/yt/arraytypes.py	Thu Apr 24 10:20:24 2008
@@ -30,10 +30,13 @@
 
 import numpy as na
 import numpy.core.records as rec
-import scipy.ndimage as nd # Moved into scipy
-import scipy as sp
-import scipy.weave as weave
-from scipy.weave import converters
+try:
+    import scipy.ndimage as nd # Moved into scipy
+    import scipy as sp
+    import scipy.weave as weave
+    from scipy.weave import converters
+except ImportError:
+    pass
 
 # Now define convenience functions
 



More information about the yt-svn mailing list