Author: bugman Date: Thu Apr 10 12:15:34 2008 New Revision: 5536 URL: http://svn.gna.org/viewcvs/relax?rev=5536&view=rev Log: Modified the test_display_protein_sequence() and test_write_protein_sequence() unit tests. The behaviour of the functions is changing. Modified: 1.3/test_suite/unit_tests/sequence_testing_base.py Modified: 1.3/test_suite/unit_tests/sequence_testing_base.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/sequence_testing_base.py?rev=5536&r1=5535&r2=5536&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/sequence_testing_base.py (original) +++ 1.3/test_suite/unit_tests/sequence_testing_base.py Thu Apr 10 12:15:34 2008 @@ -88,7 +88,7 @@ cdp.mol[0].res.add_item('SER', 5) # Try displaying the residue sequence. - self.sequence_fns.display(mol_name_col=None, res_num_col=0, res_name_col=1, spin_num_col=None, spin_name_col=None) + self.sequence_fns.display(res_num_flag=True, res_name_flag=True) def test_read_protein_noe_data(self): @@ -129,7 +129,7 @@ cdp.mol[0].res.add_item('SER', 5) # Write the residue sequence. - self.sequence_fns.write(file=self.tmpfile, res_num_col=0, res_name_col=1) + self.sequence_fns.write(file=self.tmpfile, res_num_flag=True, res_name_flag=True) # Open the temp file. file = open(self.tmpfile)