mailr10817 - /1.3/generic_fns/grace.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 22, 2010 - 15:10:
Author: bugman
Date: Mon Feb 22 15:10:11 2010
New Revision: 10817

URL: http://svn.gna.org/viewcvs/relax?rev=10817&view=rev
Log:
Fix for the write_xy_header() function for when the data_type arg is not 
supplied.


Modified:
    1.3/generic_fns/grace.py

Modified: 1.3/generic_fns/grace.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/grace.py?rev=10817&r1=10816&r2=10817&view=diff
==============================================================================
--- 1.3/generic_fns/grace.py (original)
+++ 1.3/generic_fns/grace.py Mon Feb 22 15:10:11 2010
@@ -478,7 +478,7 @@
             return_grace_string = get_specific_fn('return_grace_string', 
pipes.get_type())
 
             # Test if the axis data type is a minimisation statistic.
-            if data_type[i] != 'spin' and 
generic_fns.minimise.return_data_name(data_type[i]):
+            if data_type[i] and data_type[i] != 'spin' and 
generic_fns.minimise.return_data_name(data_type[i]):
                 return_units = generic_fns.minimise.return_units
                 return_grace_string = 
generic_fns.minimise.return_grace_string
 




Related Messages


Powered by MHonArc, Updated Mon Feb 22 16:20:02 2010