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)


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to