Author: bugman Date: Wed Jan 21 18:20:03 2009 New Revision: 8562 URL: http://svn.gna.org/viewcvs/relax?rev=8562&view=rev Log: Fix for calls to structure.read_pdb() in the setUp() method. Modified: branches/multi_structure/test_suite/system_tests/diffusion_tensor.py Modified: branches/multi_structure/test_suite/system_tests/diffusion_tensor.py URL: http://svn.gna.org/viewcvs/relax/branches/multi_structure/test_suite/system_tests/diffusion_tensor.py?rev=8562&r1=8561&r2=8562&view=diff ============================================================================== --- branches/multi_structure/test_suite/system_tests/diffusion_tensor.py (original) +++ branches/multi_structure/test_suite/system_tests/diffusion_tensor.py Wed Jan 21 18:20:03 2009 @@ -43,21 +43,21 @@ # Sphere tensor initialization. self.relax.interpreter._Pipe.switch('sphere') - self.relax.interpreter._Structure.read_pdb(file='Ap4Aase_res1-12.pdb', dir=sys.path[-1] + '/test_suite/shared_data/structures', model=1) + self.relax.interpreter._Structure.read_pdb(file='Ap4Aase_res1-12.pdb', dir=sys.path[-1] + '/test_suite/shared_data/structures', read_model=1) self.relax.interpreter._Sequence.read(file='Ap4Aase.seq', dir=sys.path[-1] + '/test_suite/shared_data/') self.relax.interpreter._Diffusion_tensor.init(10e-9, fixed=True) self.tmpfile_sphere = mktemp() # Spheroid tensor initialization. self.relax.interpreter._Pipe.switch('spheroid') - self.relax.interpreter._Structure.read_pdb(file='Ap4Aase_res1-12.pdb', dir=sys.path[-1] + '/test_suite/shared_data/structures', model=1) + self.relax.interpreter._Structure.read_pdb(file='Ap4Aase_res1-12.pdb', dir=sys.path[-1] + '/test_suite/shared_data/structures', read_model=1) self.relax.interpreter._Sequence.read(file='Ap4Aase.seq', dir=sys.path[-1] + '/test_suite/shared_data/') self.relax.interpreter._Diffusion_tensor.init((2e-8, 1.3, 60-360, 290), param_types=2, spheroid_type='prolate', fixed=True) self.tmpfile_spheroid = mktemp() # Ellipsoid tensor initialization. self.relax.interpreter._Pipe.switch('ellipsoid') - self.relax.interpreter._Structure.read_pdb(file='Ap4Aase_res1-12.pdb', dir=sys.path[-1] + '/test_suite/shared_data/structures', model=1) + self.relax.interpreter._Structure.read_pdb(file='Ap4Aase_res1-12.pdb', dir=sys.path[-1] + '/test_suite/shared_data/structures', read_model=1) self.relax.interpreter._Sequence.read(file='Ap4Aase.seq', dir=sys.path[-1] + '/test_suite/shared_data/') self.relax.interpreter._Diffusion_tensor.init((9e-8, 5e6, 0.3, 60+360, 290, 100), fixed=False) self.tmpfile_ellipsoid = mktemp()