mailr12816 - /1.3/specific_fns/model_free/bmrb.py


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

Header


Content

Posted by edward on March 17, 2011 - 15:22:
Author: bugman
Date: Thu Mar 17 15:22:57 2011
New Revision: 12816

URL: http://svn.gna.org/viewcvs/relax?rev=12816&view=rev
Log:
Fix for the conversion of te to ts - the model is not always given.


Modified:
    1.3/specific_fns/model_free/bmrb.py

Modified: 1.3/specific_fns/model_free/bmrb.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/bmrb.py?rev=12816&r1=12815&r2=12816&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/bmrb.py (original)
+++ 1.3/specific_fns/model_free/bmrb.py Thu Mar 17 15:22:57 2011
@@ -242,7 +242,7 @@
                     setattr(spin, 'params', params)
 
                 # Convert te values which should be ts!
-                if spin.model in ['m5', 'm6', 'm7', 'm8'] and hasattr(spin, 
'te') and spin.te != None:
+                if hasattr(spin, 'model') and spin.model in ['m5', 'm6', 
'm7', 'm8'] and hasattr(spin, 'te') and spin.te != None:
                     # Change the parameter name of te to ts.
                     spin.ts = spin.te
                     if hasattr(spin, 'te_err'):




Related Messages


Powered by MHonArc, Updated Fri Mar 18 12:20:02 2011