mailr6456 - /1.3/specific_fns/model_free/main.py


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

Header


Content

Posted by edward on June 23, 2008 - 22:47:
Author: bugman
Date: Mon Jun 23 22:34:17 2008
New Revision: 6456

URL: http://svn.gna.org/viewcvs/relax?rev=6456&view=rev
Log:
Checking has been added for the model-free return_units() method for the 
presence of frq_labels.


Modified:
    1.3/specific_fns/model_free/main.py

Modified: 1.3/specific_fns/model_free/main.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/main.py?rev=6456&r1=6455&r2=6456&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/main.py (original)
+++ 1.3/specific_fns/model_free/main.py Mon Jun 23 22:34:17 2008
@@ -2081,7 +2081,7 @@
             return 'ps'
 
         # Rex (value at 1st field strength).
-        elif object_name == 'rex':
+        elif object_name == 'rex' and hasattr(spin, 'frq_labels'):
             return spin.frq_labels[0] + ' MHz'
 
         # Bond length (Angstrom).




Related Messages


Powered by MHonArc, Updated Mon Jun 23 23:00:38 2008