Author: bugman Date: Fri Nov 23 16:19:15 2007 New Revision: 3858 URL: http://svn.gna.org/viewcvs/relax?rev=3858&view=rev Log: And another fix for the unit test for writing an amino acid sequence. 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=3858&r1=3857&r2=3858&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/sequence_testing_base.py (original) +++ 1.3/test_suite/unit_tests/sequence_testing_base.py Fri Nov 23 16:19:15 2007 @@ -121,14 +121,11 @@ cdp.mol[0].res.add_item('GLY', 4) cdp.mol[0].res.add_item('SER', 5) - # The temporary file. - tmpfile = tempnam() - # Write the residue sequence. - self.sequence_fns.write(file=tmpfile) + self.sequence_fns.write(file=self.tmpfile, res_num_col=0, res_name_col=1) # Open the temp file. - file = open(tmpfile) + file = open(self.tmpfile) # Get the md5sum of the file. file_md5 = md5()