Author: bugman Date: Mon Oct 8 18:01:36 2012 New Revision: 17753 URL: http://svn.gna.org/viewcvs/relax?rev=17753&view=rev Log: Fix for the Diffusion_tensor.test_copy system test - the simulation parameters are now read-only. Instead, the diffusion tensor set() method needs to be called. Modified: branches/tensor_data/test_suite/system_tests/diffusion_tensor.py Modified: branches/tensor_data/test_suite/system_tests/diffusion_tensor.py URL: http://svn.gna.org/viewcvs/relax/branches/tensor_data/test_suite/system_tests/diffusion_tensor.py?rev=17753&r1=17752&r2=17753&view=diff ============================================================================== --- branches/tensor_data/test_suite/system_tests/diffusion_tensor.py (original) +++ branches/tensor_data/test_suite/system_tests/diffusion_tensor.py Mon Oct 8 18:01:36 2012 @@ -430,7 +430,7 @@ # Check that this is indeed a copy. self.assertEqual(sphere2_pipe.diff_tensor.tm_sim[4], 9.02e-8) self.assertEqual(sphere2_pipe.diff_tensor.Diso_sim[4], 1/(6*9.02e-8)) - sphere_pipe.diff_tensor.tm_sim[4] = 8.88e-8 + sphere_pipe.diff_tensor.set(param='tm', value=8.88e-8, category='sim', sim_index=4) self.assertEqual(sphere_pipe.diff_tensor.tm_sim[4], 8.88e-8) self.assertEqual(sphere_pipe.diff_tensor.Diso_sim[4], 1/(6*8.88e-8)) self.assertEqual(sphere2_pipe.diff_tensor.tm_sim[4], 9.02e-8)