mailr4132 - /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 29, 2007 - 09:14:
Author: bugman
Date: Thu Nov 29 09:14:13 2007
New Revision: 4132

URL: http://svn.gna.org/viewcvs/relax?rev=4132&view=rev
Log:
Updated the unit tests of generic_fns.align_tensor.copy() to use the 
tensor_from and tensor_to args.


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=4132&r1=4131&r2=4132&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 
Thu Nov 29 09:14:13 2007
@@ -69,7 +69,7 @@
         relax_data_store.current_pipe = 'test'
 
         # Copy the tensor to the test pipe.
-        self.align_tensor_fns.copy(pipe_from='orig')
+        self.align_tensor_fns.copy(tensor_from='Pf1', pipe_from='orig', 
tensor_to='Pf1')
 
         # Test the alignment tensor.
         self.assertEqual(relax_data_store['test'].align_tensor['Pf1'].Axx, 
-16.6278)
@@ -90,7 +90,7 @@
         self.align_tensor_fns.init(tensor='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')
+        self.align_tensor_fns.copy(tensor_from='Pf1', pipe_to='test', 
tensor_to='Pf1')
 
         # Test the alignment tensor.
         self.assertEqual(relax_data_store['test'].align_tensor['Pf1'].Axx, 
-16.6278)




Related Messages


Powered by MHonArc, Updated Thu Nov 29 09:40:07 2007