Author: bugman Date: Fri Nov 23 13:52:34 2007 New Revision: 3840 URL: http://svn.gna.org/viewcvs/relax?rev=3840&view=rev Log: Fixed the system test for loading the of amino acid sequence data. Modified: 1.3/test_suite/system_tests/sequence.py Modified: 1.3/test_suite/system_tests/sequence.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/sequence.py?rev=3840&r1=3839&r2=3840&view=diff ============================================================================== --- 1.3/test_suite/system_tests/sequence.py (original) +++ 1.3/test_suite/system_tests/sequence.py Fri Nov 23 13:52:34 2007 @@ -20,7 +20,12 @@ # # ############################################################################### +# Python module imports. import sys + +# relax module imports. +from prompt.pipe import Pipe +from prompt.sequence import Sequence class Sequence: @@ -59,14 +64,14 @@ return 1 - def read(self, run): + def read(self, pipe): """The sequence.read() test.""" - # Create the run. - self.relax.generic.runs.create(run, 'mf') + # Create the data pipe. + self.relax.interpreter._Pipe.create(pipe, 'mf') # Read the sequence. - self.relax.interpreter._Sequence.read(run, file='test_seq', dir=sys.path[-1] + '/test_suite/system_tests/data') + self.relax.interpreter._Sequence.read(file='test_seq', dir=sys.path[-1] + '/test_suite/system_tests/data') # Success. return 1