mailr9582 - /1.3/relax_io.py


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

Header


Content

Posted by edward on October 06, 2009 - 15:26:
Author: bugman
Date: Tue Oct  6 15:26:28 2009
New Revision: 9582

URL: http://svn.gna.org/viewcvs/relax?rev=9582&view=rev
Log:
Bug fix for the relax_io.read_spin_data_file() function.

The column number check was incorrect due to the column renumbering.


Modified:
    1.3/relax_io.py

Modified: 1.3/relax_io.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax_io.py?rev=9582&r1=9581&r2=9582&view=diff
==============================================================================
--- 1.3/relax_io.py (original)
+++ 1.3/relax_io.py Tue Oct  6 15:26:28 2009
@@ -546,7 +546,7 @@
         missing = True
         for i in xrange(len(file_data)):
             # Skip missing data.
-            if len(file_data[i]) <= min_col_num:
+            if len(file_data[i]) < min_col_num:
                 continue
             elif data_col and file_data[i][data_col-1] == 'None':
                 continue




Related Messages


Powered by MHonArc, Updated Tue Oct 06 16:00:02 2009