Author: bugman Date: Mon Jan 7 14:24:58 2008 New Revision: 4423 URL: http://svn.gna.org/viewcvs/relax?rev=4423&view=rev Log: Bug fix for the params arg of the align_tensor.init() user function. The str tuple is now handled. Modified: branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py Modified: branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py?rev=4423&r1=4422&r2=4423&view=diff ============================================================================== --- branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py (original) +++ branches/N_state_model/test_suite/unit_tests/_prompt/test_align_tensor.py Mon Jan 7 14:24:58 2008 @@ -145,7 +145,7 @@ # Loop over the data types. for data in DATA_TYPES: # Catch the tuple arguments. - if data[0] == 'tuple' or data[0] == 'float tuple': + if data[0] == 'tuple' or data[0] == 'float tuple' or data[0] == 'str tuple': # Incorrect tuple length. if len(data[1]) != 5: self.assertRaises(RelaxError, self.align_tensor_fns.init, tensor='Pf1', params=data[1])