mailr19501 - /branches/relax_disp/specific_analyses/relax_disp.py


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

Header


Content

Posted by edward on April 19, 2013 - 22:24:
Author: bugman
Date: Fri Apr 19 22:24:04 2013
New Revision: 19501

URL: http://svn.gna.org/viewcvs/relax?rev=19501&view=rev
Log:
The relax_disp.select_model user function now checks for the compiled C 
module when required.


Modified:
    branches/relax_disp/specific_analyses/relax_disp.py

Modified: branches/relax_disp/specific_analyses/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_analyses/relax_disp.py?rev=19501&r1=19500&r2=19501&view=diff
==============================================================================
--- branches/relax_disp/specific_analyses/relax_disp.py (original)
+++ branches/relax_disp/specific_analyses/relax_disp.py Fri Apr 19 22:24:04 
2013
@@ -1466,6 +1466,10 @@
         if not hasattr(cdp, 'exp_type'):
             raise RelaxError("The relaxation dispersion experiment type has 
not been set.")
 
+        # Test for the C-modules.
+        if model == 'R2eff' and cdp.exp_type in VAR_TIME_EXP and not 
C_module_exp_fn:
+            raise RelaxError("The exponential curve-fitting C module cannot 
be found.")
+
         # Fast-exchange regime.
         if model == 'R2eff':
             print("R2eff value and error determination.")




Related Messages


Powered by MHonArc, Updated Fri Apr 19 22:40:01 2013