mailr22068 - /trunk/pipe_control/rdc.py


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

Header


Content

Posted by edward on January 29, 2014 - 17:41:
Author: bugman
Date: Wed Jan 29 17:41:33 2014
New Revision: 22068

URL: http://svn.gna.org/viewcvs/relax?rev=22068&view=rev
Log:
The behaviour of the rdc.write user function has been changed to output spin 
ID strings in single quotes.

This is to avoid problems with the '#' molecule identifier and the '#' 
comment character.


Modified:
    trunk/pipe_control/rdc.py

Modified: trunk/pipe_control/rdc.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/rdc.py?rev=22068&r1=22067&r2=22068&view=diff
==============================================================================
--- trunk/pipe_control/rdc.py (original)
+++ trunk/pipe_control/rdc.py Wed Jan 29 17:41:33 2014
@@ -1267,8 +1267,8 @@
 
         # Append the spin data.
         data.append([])
-        data[-1].append(interatom.spin_id1)
-        data[-1].append(interatom.spin_id2)
+        data[-1].append(repr(interatom.spin_id1))
+        data[-1].append(repr(interatom.spin_id2))
 
         # Handle the missing rdc_data_types variable.
         data_type = None




Related Messages


Powered by MHonArc, Updated Wed Jan 29 18:00:01 2014