mailr20447 - /trunk/data_store/mol_res_spin.py


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

Header


Content

Posted by edward on July 22, 2013 - 10:02:
Author: bugman
Date: Mon Jul 22 10:02:30 2013
New Revision: 20447

URL: http://svn.gna.org/viewcvs/relax?rev=20447&view=rev
Log:
Proper bug fix for the spin parameter array always being converted to 
lowercase (failed at r20421).

The commit r20421 was causing failures in certain cases.  One system test and 
one GUI test were
failing because of r20421.  Now the spin container is checked for the 
presence 'equation' variable
to determine if this is a model free data pipe.


Modified:
    trunk/data_store/mol_res_spin.py

Modified: trunk/data_store/mol_res_spin.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/data_store/mol_res_spin.py?rev=20447&r1=20446&r2=20447&view=diff
==============================================================================
--- trunk/data_store/mol_res_spin.py (original)
+++ trunk/data_store/mol_res_spin.py Mon Jul 22 10:02:30 2013
@@ -93,7 +93,7 @@
         """
 
         # Model-free parameters.
-        if pipe_control.pipes.get_type() == 'mf':
+        if hasattr(self, 'equation') and self.equation in ['mf_orig', 
'mf_ext', 'mf_ext2']:
             self._back_compat_hook_mf_data()
 
         # Relaxation data.




Related Messages


Powered by MHonArc, Updated Mon Jul 22 12:20:01 2013