mailr8653 - /branches/ave_noe/generic_fns/xplor.py


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

Header


Content

Posted by edward on January 26, 2009 - 16:42:
Author: bugman
Date: Mon Jan 26 16:42:12 2009
New Revision: 8653

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

Xplor restraints spread across 2 lines are now properly handled.
 

Modified:
    branches/ave_noe/generic_fns/xplor.py

Modified: branches/ave_noe/generic_fns/xplor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/ave_noe/generic_fns/xplor.py?rev=8653&r1=8652&r2=8653&view=diff
==============================================================================
--- branches/ave_noe/generic_fns/xplor.py (original)
+++ branches/ave_noe/generic_fns/xplor.py Mon Jan 26 16:42:12 2009
@@ -133,7 +133,7 @@
                 char_index = char_index + 1
 
                 # Check if we need to go to the next line.
-                if char_index > len(lines[line_index]):
+                if char_index >= len(lines[line_index]):
                     line_index = line_index + 1
                     char_index = -1
                     continue




Related Messages


Powered by MHonArc, Updated Mon Jan 26 17:00:04 2009