Author: semor Date: Fri Jul 4 18:45:50 2008 New Revision: 6681 URL: http://svn.gna.org/viewcvs/relax?rev=6681&view=rev Log: Improved the consistency_tests system testing script. Modified: 1.3/test_suite/system_tests/scripts/consistency_tests.py Modified: 1.3/test_suite/system_tests/scripts/consistency_tests.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/scripts/consistency_tests.py?rev=6681&r1=6680&r2=6681&view=diff ============================================================================== --- 1.3/test_suite/system_tests/scripts/consistency_tests.py (original) +++ 1.3/test_suite/system_tests/scripts/consistency_tests.py Fri Jul 4 18:45:50 2008 @@ -1,16 +1,19 @@ -# Script for consistency testing. +"""Script for consistency testing.""" + +# Python module imports. +import sys # Create the run. name = 'consistency' pipe.create(name, 'ct') # Load the sequence. -sequence.read('noe.600.out') +sequence.read(sys.path[-1] + '/test_suite/system_tests/data/jw_mapping/noe.dat') # Load the relaxation data. -relax_data.read('R1', '600', 600.0 * 1e6, 'r1.600.out') -relax_data.read('R2', '600', 600.0 * 1e6, 'r2.600.out') -relax_data.read('NOE', '600', 600.0 * 1e6, 'noe.600.out') +relax_data.read('R1', '600', 600.0 * 1e6, sys.path[-1] + '/test_suite/system_tests/data/jw_mapping/R1.dat') +relax_data.read('R2', '600', 600.0 * 1e6, sys.path[-1] + '/test_suite/system_tests/data/jw_mapping/R2.dat') +relax_data.read('NOE', '600', 600.0 * 1e6, sys.path[-1] + '/test_suite/system_tests/data/jw_mapping/noe.dat') # Set the nuclei types value.set('15N', 'heteronucleus')