Author: bugman Date: Tue Sep 22 12:04:37 2009 New Revision: 9553 URL: http://svn.gna.org/viewcvs/relax?rev=9553&view=rev Log: Bug fix for the reading of Xplor NOE data when a line starts with '#'. Modified: 1.3/generic_fns/xplor.py Modified: 1.3/generic_fns/xplor.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/xplor.py?rev=9553&r1=9552&r2=9553&view=diff ============================================================================== --- 1.3/generic_fns/xplor.py (original) +++ 1.3/generic_fns/xplor.py Tue Sep 22 12:04:37 2009 @@ -198,6 +198,14 @@ lower = float(info[1]) upper = float(info[2]) + # Non-data line. + else: + # Line index. + line_index = line_index + 1 + + # Skip to the next line without yielding. + continue + # Line index. line_index = line_index + 1