mailr16137 - /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:46:
Author: bugman
Date: Wed May  9 10:46:11 2012
New Revision: 16137

URL: http://svn.gna.org/viewcvs/relax?rev=16137&view=rev
Log:
Fix for the arg_check.is_list call used in the fix at r16130.

This now will return the answer rather than raising a RelaxError.


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=16137&r1=16136&r2=16137&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:46:11 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], 
'xh_vect'):
+            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], 
raise_error=False):
                 raise RelaxMultiVectorError
 
             # Test if the spin type has been set.




Related Messages


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