mailr4116 - /branches/N_state_model/test_suite/unit_tests/align_tensor_testing_base.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 28, 2007 - 18:28:
Author: bugman
Date: Wed Nov 28 18:13:15 2007
New Revision: 4116

URL: http://svn.gna.org/viewcvs/relax?rev=4116&view=rev
Log:
Modified all the initialisations of the alignment tensor in the base class to 
include a label.


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=4116&r1=4115&r2=4116&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 
Wed Nov 28 18:13:15 2007
@@ -63,7 +63,7 @@
         """
 
         # Initialise the tensor.
-        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)
+        self.align_tensor_fns.init(label='Pf1', params=(-16.6278, 6.13037, 
7.65639, -1.89157, 19.2561), scale=1.0, angle_units='rad', param_types=0)
 
         # 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), scale=1.0, angle_units='rad', param_types=0)
+        self.align_tensor_fns.init(label='Pf1', 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')
@@ -108,7 +108,7 @@
         """
 
         # Initialise the tensor.
-        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)
+        self.align_tensor_fns.init(label='Pf1', params=(-16.6278, 6.13037, 
7.65639, -1.89157, 19.2561), scale=1.0, angle_units='rad', param_types=0)
 
         # Delete the tensor data.
         self.align_tensor_fns.delete()
@@ -150,7 +150,7 @@
         """
 
         # Initialise the tensor.
-        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)
+        self.align_tensor_fns.init(label='Pf1', 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()
@@ -189,7 +189,7 @@
         """
 
         # Initialise the tensor.
-        self.assertRaises(RelaxError, self.align_tensor_fns.init, 
params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), angle_units='aaa')
+        self.assertRaises(RelaxError, self.align_tensor_fns.init, 
label='Pf1', params=(-16.6278, 6.13037, 7.65639, -1.89157, 19.2561), 
angle_units='aaa')
 
 
     def test_init(self):
@@ -200,7 +200,7 @@
         """
 
         # Initialise the tensor.
-        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)
+        self.align_tensor_fns.init(label='Pf1', 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['orig'].align_tensor.Axx, -16.6278)




Related Messages


Powered by MHonArc, Updated Wed Nov 28 18:40:09 2007