mailr5639 - /1.3/specific_fns/model_free/mf_minimise.py


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

Header


Content

Posted by edward on April 13, 2008 - 19:52:
Author: bugman
Date: Sun Apr 13 19:52:13 2008
New Revision: 5639

URL: http://svn.gna.org/viewcvs/relax?rev=5639&view=rev
Log:
Fixed a few misnamed variables in the model-free calculate() method.


Modified:
    1.3/specific_fns/model_free/mf_minimise.py

Modified: 1.3/specific_fns/model_free/mf_minimise.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/model_free/mf_minimise.py?rev=5639&r1=5638&r2=5639&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/mf_minimise.py (original)
+++ 1.3/specific_fns/model_free/mf_minimise.py Sun Apr 13 19:52:13 2008
@@ -122,15 +122,15 @@
                 raise RelaxNoValueError, unset_param
 
             # Test if the CSA value has been set.
-            if not hasattr(data, 'csa') or spin.csa == None:
+            if not hasattr(spin, 'csa') or spin.csa == None:
                 raise RelaxNoValueError, "CSA"
 
             # Test if the bond length value has been set.
-            if not hasattr(data, 'r') or spin.r == None:
+            if not hasattr(spin, 'r') or spin.r == None:
                 raise RelaxNoValueError, "bond length"
 
             # Skip spins where there is no data or errors.
-            if not hasattr(data, 'relax_data') or not hasattr(data, 
'relax_error'):
+            if not hasattr(spin, 'relax_data') or not hasattr(spin, 
'relax_error'):
                 continue
 
             # Make sure that the errors are strictly positive numbers.




Related Messages


Powered by MHonArc, Updated Sun Apr 13 20:00:16 2008