mailr27183 - /branches/nmrglue/test_suite/system_tests/nmrglue.py


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

Header


Content

Posted by tlinnet on January 14, 2015 - 18:46:
Author: tlinnet
Date: Wed Jan 14 18:46:44 2015
New Revision: 27183

URL: http://svn.gna.org/viewcvs/relax?rev=27183&view=rev
Log:
Change of systemtest Nmrglue.test_plot_contour, after removing of 8MB test 
spectrum file.

Task #7873 (https://gna.org/task/index.php?7873): Write wrapper function to 
nmrglue, to read .ft2 files and process them.
Homepage: http://www.nmrglue.com/
Link to nmrglue discussion: 
https://groups.google.com/forum/#!forum/nmrglue-discuss
The code is develop at Github: https://github.com/jjhelmus/nmrglue/
Google code: https://code.google.com/p/nmrglue/
Documentation: http://nmrglue.readthedocs.org/en/latest/index.html

Modified:
    branches/nmrglue/test_suite/system_tests/nmrglue.py

Modified: branches/nmrglue/test_suite/system_tests/nmrglue.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/nmrglue/test_suite/system_tests/nmrglue.py?rev=27183&r1=27182&r2=27183&view=diff
==============================================================================
--- branches/nmrglue/test_suite/system_tests/nmrglue.py (original)
+++ branches/nmrglue/test_suite/system_tests/nmrglue.py Wed Jan 14 18:46:44 
2015
@@ -156,7 +156,7 @@
         This is from the 
U{tutorial<http://jjhelmus.github.io/nmrglue/current/examples/plot_2d_spectrum.html>}."""
 
         # Read the spectrum.
-        fname = 'freq_real.ft2'
+        fname = '128_0_FT.ft2'
         sp_id = 'test'
         self.interpreter.spectrum.nmrglue_read(file=fname, dir=ds.ng_test, 
nmrglue_id=sp_id)
 
@@ -164,11 +164,11 @@
         ax = plot_contour(nmrglue_id=sp_id, ppm=True, show=show)
 
         # Set new limits.
-        ax.set_xlim(30, 0)
-        ax.set_ylim(15, -20)
+        ax.set_xlim(11, 6)
+        ax.set_ylim(132, 105)
 
         # add some labels
-        ax.text(25.0, 0.0, "Test", size=8, color='r')
+        ax.text(10.0, 115.0, "Test", size=8, color='r')
 
 
     def setup_plot_contour_cpmg(self, show=False):




Related Messages


Powered by MHonArc, Updated Wed Jan 14 19:00:02 2015