mailr24782 - /branches/r1rho_plotting/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 July 28, 2014 - 12:56:
Author: tlinnet
Date: Mon Jul 28 12:56:56 2014
New Revision: 24782

URL: http://svn.gna.org/viewcvs/relax?rev=24782&view=rev
Log:
Skip production of plotting r1rho r2 as function of effective field w_eff, 
when spin.isotope is not present.

This can happen when it is 'exp_fit' model curve fitting.

sr #3124(https://gna.org/support/?3124): Grace graphs production for R1rho 
analysis with R2_eff as function of Omega_eff.
sr #3138(https://gna.org/support/?3138): Interpolating theta through 
spin-lock offset [Omega], rather than spin-lock field strength [w1].

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

Modified: branches/r1rho_plotting/specific_analyses/relax_disp/data.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/r1rho_plotting/specific_analyses/relax_disp/data.py?rev=24782&r1=24781&r2=24782&view=diff
==============================================================================
--- branches/r1rho_plotting/specific_analyses/relax_disp/data.py        
(original)
+++ branches/r1rho_plotting/specific_analyses/relax_disp/data.py        Mon 
Jul 28 12:56:56 2014
@@ -1966,6 +1966,10 @@
         else:
             back_calc = None
             spin_lock_nu1_new = None
+
+            # Skip for data not having chemical shifts assigned.
+            if not hasattr(spin, 'isotope'):
+                continue
 
             # Number of spectrometer fields.
             fields = [None]




Related Messages


Powered by MHonArc, Updated Mon Jul 28 14:40:02 2014