mailr23623 - /trunk/relax.py


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

Header


Content

Posted by edward on June 03, 2014 - 16:30:
Author: bugman
Date: Tue Jun  3 16:30:06 2014
New Revision: 23623

URL: http://svn.gna.org/viewcvs/relax?rev=23623&view=rev
Log:
Fix for the relax start up detection of missing Python packages.

The dep_check module is now imported first, as it used to be.  This is 
required to check if all
required modules are installed and to present understandable messages to the 
user rather than
cryptic ImportError messages with tracebacks.


Modified:
    trunk/relax.py

Modified: trunk/relax.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/relax.py?rev=23623&r1=23622&r2=23623&view=diff
==============================================================================
--- trunk/relax.py      (original)
+++ trunk/relax.py      Tue Jun  3 16:30:06 2014
@@ -33,11 +33,11 @@
 # Module docstring.
 """The main module for relax execution."""
 
+# Dependency checks.
+import dep_check
+
 # Set up the Python 2 and 3 work-arounds.
 import lib.compat
-
-# Dependency checks.
-import dep_check
 
 # Python modules.
 import numpy




Related Messages


Powered by MHonArc, Updated Tue Jun 03 18:20:03 2014