mailr10850 - /1.3/dep_check.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 23, 2010 - 13:49:
Author: bugman
Date: Tue Feb 23 13:49:32 2010
New Revision: 10850

URL: http://svn.gna.org/viewcvs/relax?rev=10850&view=rev
Log:
Added a specific import check for Scientific - the other checking the PDB 
module import.


Modified:
    1.3/dep_check.py

Modified: 1.3/dep_check.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/dep_check.py?rev=10850&r1=10849&r2=10850&view=diff
==============================================================================
--- 1.3/dep_check.py (original)
+++ 1.3/dep_check.py Tue Feb 23 13:49:32 2010
@@ -107,6 +107,13 @@
 
 # Scientific Python import.
 try:
+    import Scientific
+    scientific_module = True
+except ImportError:
+    scientific_module = False
+
+# Scientific Python PDB module import.
+try:
     from Scientific.IO import PDB
     del PDB
     scientific_pdb_module = True




Related Messages


Powered by MHonArc, Updated Tue Feb 23 14:00:02 2010