mailr25138 - /trunk/specific_analyses/relax_disp/data.py


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

Header


Content

Posted by edward on August 21, 2014 - 09:57:
Author: bugman
Date: Thu Aug 21 09:57:12 2014
New Revision: 25138

URL: http://svn.gna.org/viewcvs/relax?rev=25138&view=rev
Log:
Fix for the specific_analyses.relax_disp.data.is_r1_optimised() function for 
on-resonance R1rho data.

This function needs to specifically catch these models.

Modified:
    trunk/specific_analyses/relax_disp/data.py

Modified: trunk/specific_analyses/relax_disp/data.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/data.py?rev=25138&r1=25137&r2=25138&view=diff
==============================================================================
--- trunk/specific_analyses/relax_disp/data.py  (original)
+++ trunk/specific_analyses/relax_disp/data.py  Thu Aug 21 09:57:12 2014
@@ -1030,6 +1030,10 @@
     # Firstly use the R1 fit flag as an override.
     if hasattr(cdp, 'r1_fit'):
         return cdp.r1_fit
+
+    # Catch on-resonance models.
+    if model in MODEL_LIST_R1RHO_ON_RES:
+        return False
 
     # Otherwise, is the R1 data loaded?
     return check_missing_r1(model=model)




Related Messages


Powered by MHonArc, Updated Thu Aug 21 10:00:03 2014