Author: bugman Date: Thu Jan 10 16:29:49 2008 New Revision: 4597 URL: http://svn.gna.org/viewcvs/relax?rev=4597&view=rev Log: Updated the alignment tensor init() unit test to match the new structure.
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=4597&r1=4596&r2=4597&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 Jan 10 16:29:49 2008 @@ -220,11 +220,11 @@ 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) # Test the alignment tensor. - self.assertEqual(relax_data_store['orig'].align_tensor['Pf1'].Sxx, -16.6278) - self.assertEqual(relax_data_store['orig'].align_tensor['Pf1'].Syy, 6.13037) - self.assertEqual(relax_data_store['orig'].align_tensor['Pf1'].Sxy, 7.65639) - self.assertEqual(relax_data_store['orig'].align_tensor['Pf1'].Sxz, -1.89157) - self.assertEqual(relax_data_store['orig'].align_tensor['Pf1'].Syz, 19.2561) + self.assertEqual(relax_data_store['orig'].align_tensor[0].Sxx, -16.6278) + self.assertEqual(relax_data_store['orig'].align_tensor[0].Syy, 6.13037) + self.assertEqual(relax_data_store['orig'].align_tensor[0].Sxy, 7.65639) + self.assertEqual(relax_data_store['orig'].align_tensor[0].Sxz, -1.89157) + self.assertEqual(relax_data_store['orig'].align_tensor[0].Syz, 19.2561) def test_matrix_angles_identity(self): _______________________________________________ relax (http://nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits