mailr6565 - in /1.3/test_suite/system_tests: angles.py load_spins.py


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

Header


Content

Posted by edward on June 29, 2008 - 11:12:
Author: bugman
Date: Sun Jun 29 11:12:09 2008
New Revision: 6565

URL: http://svn.gna.org/viewcvs/relax?rev=6565&view=rev
Log:
Absolute path bug fixes for the test_load_spins_from_small_molecule() and 
test_angles() system tests.


Modified:
    1.3/test_suite/system_tests/angles.py
    1.3/test_suite/system_tests/load_spins.py

Modified: 1.3/test_suite/system_tests/angles.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/angles.py?rev=6565&r1=6564&r2=6565&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/angles.py (original)
+++ 1.3/test_suite/system_tests/angles.py Sun Jun 29 11:12:09 2008
@@ -48,7 +48,7 @@
         """The user function angles()."""
 
         # Execute the script.
-        
self.relax.interpreter.run(script_file='test_suite/system_tests/scripts/angles.py')
+        self.relax.interpreter.run(script_file=sys.path[-1] + 
'/test_suite/system_tests/scripts/angles.py')
 
         # Alias the current data pipe.
         cdp = ds[ds.current_pipe]

Modified: 1.3/test_suite/system_tests/load_spins.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/load_spins.py?rev=6565&r1=6564&r2=6565&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/load_spins.py (original)
+++ 1.3/test_suite/system_tests/load_spins.py Sun Jun 29 11:12:09 2008
@@ -48,7 +48,7 @@
         """Test the loading of spins from a small molecule using the 
Scientific Python PDB data object."""
 
         # Execute a relax script.
-        
self.relax.interpreter.run(script_file='test_suite/system_tests/scripts/load_spins_from_small_molecule.py')
+        self.relax.interpreter.run(script_file=sys.path[-1] + 
'/test_suite/system_tests/scripts/load_spins_from_small_molecule.py')
 
         # Alias the current data pipe.
         cdp = ds[ds.current_pipe]




Related Messages


Powered by MHonArc, Updated Sun Jun 29 11:20:26 2008