Author: bugman Date: Thu Nov 14 13:43:21 2013 New Revision: 21445 URL: http://svn.gna.org/viewcvs/relax?rev=21445&view=rev Log: The rdc.read and j_coupling.read user functions now ignore all lines starting with the # character. This is to remove all comment lines silently. Therefore if spin IDs are used which contain the molecule name, then they should be wrapped in quotation marks. Modified: trunk/pipe_control/j_coupling.py trunk/pipe_control/rdc.py Modified: trunk/pipe_control/j_coupling.py URL: http://svn.gna.org/viewcvs/relax/trunk/pipe_control/j_coupling.py?rev=21445&r1=21444&r2=21445&view=diff ============================================================================== --- trunk/pipe_control/j_coupling.py (original) +++ trunk/pipe_control/j_coupling.py Thu Nov 14 13:43:21 2013 @@ -179,7 +179,7 @@ # Extract the data from the file, and remove comments and blank lines. file_data = extract_data(file, dir, sep=sep) - file_data = strip(file_data, comments=False) + file_data = strip(file_data, comments=True) # Loop over the J coupling data. data = [] Modified: trunk/pipe_control/rdc.py URL: http://svn.gna.org/viewcvs/relax/trunk/pipe_control/rdc.py?rev=21445&r1=21444&r2=21445&view=diff ============================================================================== --- trunk/pipe_control/rdc.py (original) +++ trunk/pipe_control/rdc.py Thu Nov 14 13:43:21 2013 @@ -748,7 +748,7 @@ # Extract the data from the file, and remove comments and blank lines. file_data = extract_data(file, dir, sep=sep) - file_data = strip(file_data, comments=False) + file_data = strip(file_data, comments=True) # Loop over the RDC data. data = []