mailr22838 - /trunk/specific_analyses/relax_disp/uf.py


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

Header


Content

Posted by edward on April 23, 2014 - 16:52:
Author: bugman
Date: Wed Apr 23 16:52:30 2014
New Revision: 22838

URL: http://svn.gna.org/viewcvs/relax?rev=22838&view=rev
Log:
Fix for the relax_disp.select_model user function for when the C modules are 
not compiled.

This was checking for the presence of the compiled C modules whenever the 
'R2eff' model was
specified.  However this behaviour is incorrect.  It should only check for 
the C modules if
exponential curves are to be fit.


Modified:
    trunk/specific_analyses/relax_disp/uf.py

Modified: trunk/specific_analyses/relax_disp/uf.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/uf.py?rev=22838&r1=22837&r2=22838&view=diff
==============================================================================
--- trunk/specific_analyses/relax_disp/uf.py    (original)
+++ trunk/specific_analyses/relax_disp/uf.py    Wed Apr 23 16:52:30 2014
@@ -139,11 +139,11 @@
     check_pipe_type()
     check_mol_res_spin_data()
     check_exp_type()
-    if model == MODEL_R2EFF:
-        check_c_modules()
 
     # The curve type.
     curve_type = get_curve_type()
+    if model == MODEL_R2EFF and curve_type == 'exponential':
+        check_c_modules()
 
     # R2eff/R1rho model.
     if model == MODEL_R2EFF:




Related Messages


Powered by MHonArc, Updated Wed Apr 23 17:20:03 2014