mailr20116 - in /trunk/pipe_control: interatomic.py j_coupling.py rdc.py


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

Header


Content

Posted by edward on June 14, 2013 - 13:44:
Author: bugman
Date: Fri Jun 14 13:44:25 2013
New Revision: 20116

URL: http://svn.gna.org/viewcvs/relax?rev=20116&view=rev
Log:
Fixed for the rdc.read, j_coupling.read and interatomic.read_dist user 
functions.

Comment lines are no longer removed, as it is impossible to tell a comment 
line from a spin ID
string.


Modified:
    trunk/pipe_control/interatomic.py
    trunk/pipe_control/j_coupling.py
    trunk/pipe_control/rdc.py

Modified: trunk/pipe_control/interatomic.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/interatomic.py?rev=20116&r1=20115&r2=20116&view=diff
==============================================================================
--- trunk/pipe_control/interatomic.py (original)
+++ trunk/pipe_control/interatomic.py Fri Jun 14 13:44:25 2013
@@ -459,7 +459,7 @@
 
     # Extract the data from the file, and clean it up.
     file_data = extract_data(file, dir, sep=sep)
-    file_data = strip(file_data)
+    file_data = strip(file_data, comments=False)
 
     # Loop over the RDC data.
     data = []

Modified: trunk/pipe_control/j_coupling.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/j_coupling.py?rev=20116&r1=20115&r2=20116&view=diff
==============================================================================
--- trunk/pipe_control/j_coupling.py (original)
+++ trunk/pipe_control/j_coupling.py Fri Jun 14 13:44:25 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)
+    file_data = strip(file_data, comments=False)
 
     # 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=20116&r1=20115&r2=20116&view=diff
==============================================================================
--- trunk/pipe_control/rdc.py (original)
+++ trunk/pipe_control/rdc.py Fri Jun 14 13:44:25 2013
@@ -593,7 +593,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)
+    file_data = strip(file_data, comments=False)
 
     # Loop over the RDC data.
     data = []




Related Messages


Powered by MHonArc, Updated Fri Jun 14 14:00:02 2013