mailr10849 - /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:44:
Author: bugman
Date: Tue Feb 23 13:44:08 2010
New Revision: 10849

URL: http://svn.gna.org/viewcvs/relax?rev=10849&view=rev
Log:
Added checks for the bmrblib and Numeric packages.


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=10849&r1=10848&r2=10849&view=diff
==============================================================================
--- 1.3/dep_check.py (original)
+++ 1.3/dep_check.py Tue Feb 23 13:44:08 2010
@@ -60,6 +60,13 @@
 # Optional packages.
 ####################
 
+# Bmrblib python package check.
+try:
+    import bmrblib
+    bmrblib_module = True
+except ImportError:
+    bmrblib_module = False
+
 # Readline module.
 try:
     import readline
@@ -106,6 +113,13 @@
 except ImportError:
     scientific_pdb_module = False
 
+# Numeric python package check.
+try:
+    import Numeric
+    numeric_module = True
+except ImportError:
+    numeric_module = False
+
 # VMD module imports.
 try:
     from Scientific.Visualization import VMD    # This requires Numeric to 
be installed (at least in Scientific 2.7.8).




Related Messages


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