Author: bugman Date: Mon Nov 26 12:42:41 2007 New Revision: 4002 URL: http://svn.gna.org/viewcvs/relax?rev=4002&view=rev Log: Fixed a number of unit tests which were using 'd_scale' rather than 'scale' as an arg. Modified: branches/N_state_model/test_suite/unit_tests/align_tensor_testing_base.py Modified: branches/N_state_model/test_suite/unit_tests/align_tensor_testing_base.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/test_suite/unit_tests/align_tensor_testing_base.py?rev=4002&r1=4001&r2=4002&view=diff ============================================================================== --- branches/N_state_model/test_suite/unit_tests/align_tensor_testing_base.py (original) +++ branches/N_state_model/test_suite/unit_tests/align_tensor_testing_base.py Mon Nov 26 12:42:41 2007 @@ -63,7 +63,7 @@ """ # Initialise the tensor. - self.align_tensor_fns.init(params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), d_scale=1.0, angle_units='rad', param_types=1) + self.align_tensor_fns.init(params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), scale=1.0, angle_units='rad', param_types=1) # Change the current data pipe. relax_data_store.current_pipe = 'test' @@ -87,7 +87,7 @@ """ # Initialise the tensor. - self.align_tensor_fns.init(params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), d_scale=1.0, angle_units='rad', param_types=0) + self.align_tensor_fns.init(params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), scale=1.0, angle_units='rad', param_types=0) # Copy the tensor to the test pipe. self.align_tensor_fns.copy(pipe_to='test') @@ -150,7 +150,7 @@ """ # Initialise the tensor. - self.align_tensor_fns.init(params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), d_scale=1.0, angle_units='rad', param_types=0) + self.align_tensor_fns.init(params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), scale=1.0, angle_units='rad', param_types=0) # Display the alignment tensor. self.align_tensor_fns.display() @@ -200,7 +200,7 @@ """ # Initialise the tensor. - self.align_tensor_fns.init(params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), d_scale=1.0, angle_units='rad', param_types=0) + self.align_tensor_fns.init(params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), scale=1.0, angle_units='rad', param_types=0) # Test the alignment tensor. self.assertEqual(relax_data_store['test'].align_tensor.Axx, -16.6278)