mailr21407 - /trunk/pipe_control/interatomic.py


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

Header


Content

Posted by edward on November 12, 2013 - 16:47:
Author: bugman
Date: Tue Nov 12 16:47:16 2013
New Revision: 21407

URL: http://svn.gna.org/viewcvs/relax?rev=21407&view=rev
Log:
The rdc.read user function will now skip all lines of the RDC file starting 
with '#'.

To include molecule identifiers at the start of the line will now require 
quotation marks.


Modified:
    trunk/pipe_control/interatomic.py

Modified: trunk/pipe_control/interatomic.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/interatomic.py?rev=21407&r1=21406&r2=21407&view=diff
==============================================================================
--- trunk/pipe_control/interatomic.py (original)
+++ trunk/pipe_control/interatomic.py Tue Nov 12 16:47:16 2013
@@ -458,7 +458,7 @@
 
     # Extract the data from the file, and clean it up.
     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 = []




Related Messages


Powered by MHonArc, Updated Tue Nov 12 19:40:01 2013