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


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to