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.


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to