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