Author: bugman
Date: Sat Nov 1 14:42:40 2014
New Revision: 26398
URL: http://svn.gna.org/viewcvs/relax?rev=26398&view=rev
Log:
Improvements for the Grace files produced by the frame_order_simulate.py script.
The model name is now set as a variable and is used for the subheading.
Modified:
branches/frame_order_cleanup/test_suite/shared_data/frame_order/sim_vs_pred_matrix/frame_order_simulate.py
Modified:
branches/frame_order_cleanup/test_suite/shared_data/frame_order/sim_vs_pred_matrix/frame_order_simulate.py
URL:
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/test_suite/shared_data/frame_order/sim_vs_pred_matrix/frame_order_simulate.py?rev=26398&r1=26397&r2=26398&view=diff
==============================================================================
---
branches/frame_order_cleanup/test_suite/shared_data/frame_order/sim_vs_pred_matrix/frame_order_simulate.py
(original)
+++
branches/frame_order_cleanup/test_suite/shared_data/frame_order/sim_vs_pred_matrix/frame_order_simulate.py
Sat Nov 1 14:42:40 2014
@@ -14,6 +14,7 @@
# Variables.
MODEL = 'pseudo-ellipse'
+MODEL_TEXT = 'Pseudo-ellipse frame order model'
SAMPLE_SIZE = 100
TAG = 'in_frame'
@@ -232,9 +233,9 @@
file.write("@ world 0, -0.5, 180, 1\n")
file.write("@ title \"Simulated frame order matrix
elements\"\n")
if i == 0:
- file.write("@ subtitle \"1\\Sst\\N degree matrix, %i
simulations\"\n" % SAMPLE_SIZE)
+ file.write("@ subtitle \"%s, 1\\Sst\\N degree matrix, %i
simulations\"\n" % (MODEL_TEXT, SAMPLE_SIZE))
else:
- file.write("@ subtitle \"2\\Snd\\N degree matrix, %i
simulations\"\n" % SAMPLE_SIZE)
+ file.write("@ subtitle \"%s, 2\\Snd\\N degree matrix, %i
simulations\"\n" % (MODEL_TEXT, SAMPLE_SIZE))
# Legend.
if i == 0:
@@ -261,8 +262,6 @@
file.write("@ yaxis tick minor ticks 1\n")
file.write("@ yaxis tick minor linewidth 0.5\n")
- file.write("\n")
-
# Header for first order matrix.
graph_num = 0
for i in range(3):
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits