mailr24930 - /branches/R1_fitting/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 tlinnet on August 04, 2014 - 16:27:
Author: tlinnet
Date: Mon Aug  4 16:27:46 2014
New Revision: 24930

URL: http://svn.gna.org/viewcvs/relax?rev=24930&view=rev
Log:
Added warning message when using function return_r1_data(), and model is in 
list MODEL_LIST_R1RHO_FIT_R1.

sr #3135(https://gna.org/support/?3135): Optimisation of the R1 relaxation 
rate for the off-resonance R1rho relaxation dispersion models.

Modified:
    branches/R1_fitting/specific_analyses/relax_disp/data.py

Modified: branches/R1_fitting/specific_analyses/relax_disp/data.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/R1_fitting/specific_analyses/relax_disp/data.py?rev=24930&r1=24929&r2=24930&view=diff
==============================================================================
--- branches/R1_fitting/specific_analyses/relax_disp/data.py    (original)
+++ branches/R1_fitting/specific_analyses/relax_disp/data.py    Mon Aug  4 
16:27:46 2014
@@ -4047,6 +4047,7 @@
                 # For all R1rho models fitting R1, raise an error, set value 
to None.
                 elif spin.model in MODEL_LIST_R1RHO_FIT_R1:
                     warn_text = "No R1 relaxation data has been loaded.  
Setting it to None.  This is essential for the proper handling of offsets in 
off-resonance R1rho experiments."
+                    warn(RelaxWarning(warn_text))
                     for mi in range(field_count):
                         r1[si, mi] = None
 




Related Messages


Powered by MHonArc, Updated Mon Aug 04 16:40:02 2014