Author: bugman Date: Thu Jan 13 11:21:52 2011 New Revision: 12286 URL: http://svn.gna.org/viewcvs/relax?rev=12286&view=rev Log: Added a system test script for the tm1 grid. Added: 1.3/test_suite/system_tests/scripts/model_free/opt_tm1_grid.py - copied, changed from r12282, 1.3/test_suite/system_tests/scripts/model_free/opt_tm2_grid.py Copied: 1.3/test_suite/system_tests/scripts/model_free/opt_tm1_grid.py (from r12282, 1.3/test_suite/system_tests/scripts/model_free/opt_tm2_grid.py) URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/scripts/model_free/opt_tm1_grid.py?p2=1.3/test_suite/system_tests/scripts/model_free/opt_tm1_grid.py&p1=1.3/test_suite/system_tests/scripts/model_free/opt_tm2_grid.py&r1=12282&r2=12286&rev=12286&view=diff ============================================================================== --- 1.3/test_suite/system_tests/scripts/model_free/opt_tm2_grid.py (original) +++ 1.3/test_suite/system_tests/scripts/model_free/opt_tm1_grid.py Thu Jan 13 11:21:52 2011 @@ -20,7 +20,7 @@ # # ############################################################################### -"""Set up the data pipe for testing optimisation against tm2 relaxation data.""" +"""Set up the data pipe for testing optimisation against tm1 relaxation data.""" # relax module imports. from opt_tm_fns import create_sequence, opt_and_check, setup_data @@ -29,23 +29,21 @@ # The model-free parameters. tm = [2e-9, 10e-9, 21e-9] s2 = [0.2, 0.8, 0.95] -te = [2e-12, 40e-12, 1e-9] # Create the sequence. -create_sequence(len(tm)*len(s2)*len(te)) +create_sequence(len(tm)*len(s2)) # Set up the data. -setup_data(dir='tm2_grid') +setup_data(dir='tm1_grid') # Residue index. res_index = 0 # Loop over the parameters. -for te_index in range(3): - for s2_index in range(3): - for tm_index in range(3): - # Optimise and validate. - opt_and_check(spin=cdp.mol[0].res[res_index].spin[0], tm=tm[tm_index], s2=s2[s2_index], te=te[te_index]) +for s2_index in range(3): + for tm_index in range(3): + # Optimise and validate. + opt_and_check(spin=cdp.mol[0].res[res_index].spin[0], tm=tm[tm_index], s2=s2[s2_index]) - # Increment the residue index. - res_index += 1 + # Increment the residue index. + res_index += 1