Author: bugman
Date: Tue Mar 3 17:50:02 2015
New Revision: 27767
URL: http://svn.gna.org/viewcvs/relax?rev=27767&view=rev
Log:
Completed the Pcs.test_corr_plot system test.
The file contents are now known and have been carefully checking in Grace.
Modified:
trunk/test_suite/system_tests/pcs.py
Modified: trunk/test_suite/system_tests/pcs.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/pcs.py?rev=27767&r1=27766&r2=27767&view=diff
==============================================================================
--- trunk/test_suite/system_tests/pcs.py (original)
+++ trunk/test_suite/system_tests/pcs.py Tue Mar 3 17:50:02 2015
@@ -68,8 +68,85 @@
ds.tmpfile = mktemp()
self.interpreter.pcs.corr_plot(format='grace', title='Test',
subtitle='Test2', file=ds.tmpfile, dir=None, force=True)
- # The expected file contents (currently unknown).
+ # The expected file contents.
real_contents = [
+ "@version 50121",
+ "@page size 842, 595",
+ "@with g0",
+ "@ world 0.0, 0.0, 2.0, 2.0",
+ "@ view 0.15, 0.15, 1.28, 0.85",
+ "@ title \"Test\"",
+ "@ subtitle \"Test2\"",
+ "@ xaxis label \"Back-calculated PCS (ppm)\"",
+ "@ xaxis label char size 1.00",
+ "@ xaxis tick major 1",
+ "@ xaxis tick major size 0.50",
+ "@ xaxis tick major linewidth 0.5",
+ "@ xaxis tick minor ticks 9",
+ "@ xaxis tick minor linewidth 0.5",
+ "@ xaxis tick minor size 0.25",
+ "@ xaxis ticklabel char size 0.70",
+ "@ yaxis label \"Measured PCS (ppm)\"",
+ "@ yaxis label char size 1.00",
+ "@ yaxis tick major 1",
+ "@ yaxis tick major size 0.50",
+ "@ yaxis tick major linewidth 0.5",
+ "@ yaxis tick minor ticks 9",
+ "@ yaxis tick minor linewidth 0.5",
+ "@ yaxis tick minor size 0.25",
+ "@ yaxis ticklabel char size 0.70",
+ "@ legend on",
+ "@ legend 1, 0.5",
+ "@ legend box fill pattern 1",
+ "@ legend char size 1.0",
+ "@ frame linewidth 0.5",
+ "@ s0 symbol 1",
+ "@ s0 symbol size 0.45",
+ "@ s0 symbol linewidth 0.5",
+ "@ s0 errorbar size 0.5",
+ "@ s0 errorbar linewidth 0.5",
+ "@ s0 errorbar riser linewidth 0.5",
+ "@ s0 line linestyle 2",
+ "@ s1 symbol 2",
+ "@ s1 symbol size 0.45",
+ "@ s1 symbol linewidth 0.5",
+ "@ s1 errorbar size 0.5",
+ "@ s1 errorbar linewidth 0.5",
+ "@ s1 errorbar riser linewidth 0.5",
+ "@ s1 line linestyle 0",
+ "@ s1 legend \"tb (None)\"",
+ "@target G0.S0",
+ "@type xy",
+ "-100 -100.000000000000000
\"# 0\"",
+ "100 100.000000000000000
\"# 0\"",
+ "&",
+ "@target G0.S1",
+ "@type xy",
+ "1.004 0.004000000000000
\"# @C1\"",
+ "1.008 0.008000000000000
\"# @C2\"",
+ "1.021 0.021000000000000
\"# @C3\"",
+ "1.029 0.029000000000000
\"# @C4\"",
+ "1.016 0.016000000000000
\"# @C5\"",
+ "1.01 0.010000000000000
\"# @C6\"",
+ "1.008 0.008000000000000
\"# @H1\"",
+ "1.003 0.003000000000000
\"# @H2\"",
+ "1.006 0.006000000000000
\"# @H3\"",
+ "1.003 0.003000000000000
\"# @H4\"",
+ "1.007 0.007000000000000
\"# @H5\"",
+ "1.005 0.005000000000000
\"# @H6\"",
+ "1.001 0.001000000000000
\"# @H7\"",
+ "1.07 0.070000000000000
\"# @C7\"",
+ "1.025 0.025000000000000
\"# @C9\"",
+ "1.098 0.098000000000000
\"# @C10\"",
+ "1.054 0.054000000000000
\"# @C11\"",
+ "1.075 0.075000000000000
\"# @C12\"",
+ "1.065 0.065000000000000
\"# @H12\"",
+ "1.07 0.070000000000000
\"# @H14\"",
+ "1.015 0.015000000000000
\"# @H15\"",
+ "1.098 0.098000000000000
\"# @H16\"",
+ "1.06 0.060000000000000
\"# @H17\"",
+ "1.12 0.120000000000000
\"# @H18\"",
+ "&"
]
# Check the data.
_______________________________________________
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