Author: bugman
Date: Tue Dec  2 21:42:14 2014
New Revision: 26902

URL: http://svn.gna.org/viewcvs/relax?rev=26902&view=rev
Log:
Simple fix for bug #23017 (https://gna.org/bugs/?23017).

This is the multidimensional numpy arrays are not being stored as IEEE 754 
arrays in the XML state
and results files.  The problem was a relatively recent regression caused by a 
change to the
is_float_matrix() function of the lib.arg_check module.  It was simply that the 
default dims keyword
argument value was changed from None to (3, 3).  Therefore any call to the 
function without
supplying the dims argument would fail if the matrix was not of the (3, 3) 
shape.


Modified:
    trunk/lib/arg_check.py

Modified: trunk/lib/arg_check.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/lib/arg_check.py?rev=26902&r1=26901&r2=26902&view=diff
==============================================================================
--- trunk/lib/arg_check.py      (original)
+++ trunk/lib/arg_check.py      Tue Dec  2 21:42:14 2014
@@ -150,7 +150,7 @@
     return True
 
 
-def is_float_matrix(arg, name=None, dim=(3, 3), can_be_none=False, 
none_elements=False, raise_error=True):
+def is_float_matrix(arg, name=None, dim=None, can_be_none=False, 
none_elements=False, raise_error=True):
     """Test if the argument is a matrix of floats.
 
     @param arg:                         The argument.


_______________________________________________
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