mailr20421 - /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 19, 2013 - 19:21:
Author: bugman
Date: Fri Jul 19 19:21:27 2013
New Revision: 20421

URL: http://svn.gna.org/viewcvs/relax?rev=20421&view=rev
Log:
Bug fix for the spin parameter array always being converted to lowercase.

The is in the data_store.mol_res_spin.SpinContainer._back_compat_hook() 
method.  It always calls the
_back_compat_hook_mf_data() method which converts the spin 'params' list all 
to lowercase.  Now the
_back_compat_hook() method first checks that the data pipe is that of a 
model-free analysis.


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=20421&r1=20420&r2=20421&view=diff
==============================================================================
--- trunk/data_store/mol_res_spin.py (original)
+++ trunk/data_store/mol_res_spin.py Fri Jul 19 19:21:27 2013
@@ -93,7 +93,8 @@
         """
 
         # Model-free parameters.
-        self._back_compat_hook_mf_data()
+        if pipe_control.pipes.get_type() == 'mf':
+            self._back_compat_hook_mf_data()
 
         # Relaxation data.
         self._back_compat_hook_ri_data()




Related Messages


Powered by MHonArc, Updated Fri Jul 19 19:40:02 2013