mailr16135 - /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 May 09, 2012 - 10:22:
Author: bugman
Date: Wed May  9 10:22:44 2012
New Revision: 16135

URL: http://svn.gna.org/viewcvs/relax?rev=16135&view=rev
Log:
Fix for the call to arg_check.is_list() in the model-free code.


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=16135&r1=16134&r2=16135&view=diff
==============================================================================
--- 1.3/specific_fns/model_free/mf_minimise.py (original)
+++ 1.3/specific_fns/model_free/mf_minimise.py Wed May  9 10:22:44 2012
@@ -1276,7 +1276,7 @@
                 raise RelaxNoVectorsError
 
             # Test if multiple unit vectors exist.
-            if model_type != 'local_tm' and cdp.diff_tensor.type != 'sphere' 
and hasattr(spin, 'xh_vect') and arg_check.is_num_list(spin.xh_vect[0]):
+            if model_type != 'local_tm' and cdp.diff_tensor.type != 'sphere' 
and hasattr(spin, 'xh_vect') and arg_check.is_num_list(spin.xh_vect[0], 
'xh_vect'):
                 raise RelaxMultiVectorError
 
             # Test if the spin type has been set.




Related Messages


Powered by MHonArc, Updated Wed May 09 11:00:02 2012