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.