mailr18225 - /trunk/generic_fns/pcs.py


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

Header


Content

Posted by edward on January 18, 2013 - 14:20:
Author: bugman
Date: Fri Jan 18 14:20:36 2013
New Revision: 18225

URL: http://svn.gna.org/viewcvs/relax?rev=18225&view=rev
Log:
Python 3 fix for the new pcs.structural_noise user function.

There was a string/unicode problem in the Grace plot creation code.


Modified:
    trunk/generic_fns/pcs.py

Modified: trunk/generic_fns/pcs.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/generic_fns/pcs.py?rev=18225&r1=18224&r2=18225&view=diff
==============================================================================
--- trunk/generic_fns/pcs.py (original)
+++ trunk/generic_fns/pcs.py Fri Jan 18 14:20:36 2013
@@ -878,7 +878,7 @@
         file = open_write_file(file, dir, force)
 
         # The header.
-        grace.write_xy_header(file=file, title="PCS structural noise", 
subtitle="%s Angstrom structural noise"%rmsd, sets=len(align_ids), 
set_names=align_ids, symbol_sizes=[0.5]*len(align_ids), 
linetype=[0]*len(align_ids), data_type=['pcs_bc', 'pcs'], 
axis_labels=["Ln\S3+\N to spin distance (Angstrom)", "PCS standard deviation 
(ppm)"])
+        grace.write_xy_header(file=file, title="PCS structural noise", 
subtitle="%s Angstrom structural noise"%rmsd, sets=len(align_ids), 
set_names=align_ids, symbol_sizes=[0.5]*len(align_ids), 
linetype=[0]*len(align_ids), data_type=['pcs_bc', 'pcs'], 
axis_labels=["Ln\\S3+\\N to spin distance (Angstrom)", "PCS standard 
deviation (ppm)"])
 
         # The main data.
         grace.write_xy_data(data=[grace_data], file=file, graph_type='xy')




Related Messages


Powered by MHonArc, Updated Fri Jan 18 16:20:01 2013