Author: bugman Date: Wed Jan 12 17:04:43 2011 New Revision: 12255 URL: http://svn.gna.org/viewcvs/relax?rev=12255&view=rev Log: Fix for the test_tm2_grid system test, the diffusion tensor should not be initialised. Modified: 1.3/test_suite/system_tests/scripts/model_free/opt_tm2_grid.py Modified: 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_tm2_grid.py?rev=12255&r1=12254&r2=12255&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_tm2_grid.py Wed Jan 12 17:04:43 2011 @@ -57,9 +57,10 @@ spin.select = True # Set up the diffusion tensor. - if res_index: - diffusion_tensor.delete() - diffusion_tensor.init(tm[tm_index]) + if cdp._model in ['m2', 'm3']: + if res_index: + diffusion_tensor.delete() + diffusion_tensor.init(tm[tm_index]) # Set up the initial model-free parameter values (bypass the grid search for speed). if cdp._model in ['tm2']: