mailr3841 - /1.3/test_suite/system_tests/sequence.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on November 23, 2007 - 13:53:
Author: bugman
Date: Fri Nov 23 13:53:55 2007
New Revision: 3841

URL: http://svn.gna.org/viewcvs/relax?rev=3841&view=rev
Log:
Updated the system test of loading a sequence from a PDB file to use the new 
relax design.


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=3841&r1=3840&r2=3841&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/sequence.py (original)
+++ 1.3/test_suite/system_tests/sequence.py Fri Nov 23 13:53:55 2007
@@ -51,14 +51,14 @@
             self.test = self.pdb
 
 
-    def pdb(self, run):
+    def pdb(self, pipe):
         """The sequence loading from a PDB file 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._Structure.read_pdb(run, file='test.pdb', 
dir=sys.path[-1] + '/test_suite/system_tests/data', model=1, load_seq=1)
+        self.relax.interpreter._Structure.read_pdb(file='test.pdb', 
dir=sys.path[-1] + '/test_suite/system_tests/data', model=1, load_seq=1)
 
         # Success.
         return 1




Related Messages


Powered by MHonArc, Updated Fri Nov 23 14:00:17 2007