Author: semor Date: Wed Jul 2 23:53:48 2008 New Revision: 6607 URL: http://svn.gna.org/viewcvs/relax?rev=6607&view=rev Log: Corrected a path from relative to absolute. Modified: 1.3/test_suite/system_tests/diffusion_tensor.py Modified: 1.3/test_suite/system_tests/diffusion_tensor.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/diffusion_tensor.py?rev=6607&r1=6606&r2=6607&view=diff ============================================================================== --- 1.3/test_suite/system_tests/diffusion_tensor.py (original) +++ 1.3/test_suite/system_tests/diffusion_tensor.py Wed Jul 2 23:53:48 2008 @@ -22,6 +22,7 @@ # Python module imports. from unittest import TestCase +import sys # relax module imports. from data import Relax_data_store; ds = Relax_data_store() @@ -95,7 +96,7 @@ """The user function structure.create_diff_tensor_pdb().""" # Create the diffusion tensor object - self.relax.interpreter._Structure.read_pdb(file='Ap4Aase_res1-12.pdb', dir='../shared_data/structures/') + 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._Pipe.switch('sphere') #self.relax.interpreter._Structure.create_diff_tensor_pdb(file='tensor.pdb') #self.relax.interpreter._Pipe.switch('spheroid')