mailr11633 - /branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py


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

Header


Content

Posted by edward on October 06, 2010 - 18:55:
Author: bugman
Date: Wed Oct  6 18:55:05 2010
New Revision: 11633

URL: http://svn.gna.org/viewcvs/relax?rev=11633&view=rev
Log:
Bug fix for the BMRB system tests.

The file paths were incorrect.


Modified:
    branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py

Modified: branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py?rev=11633&r1=11632&r2=11633&view=diff
==============================================================================
--- branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py (original)
+++ branches/bmrb/test_suite/system_tests/scripts/bmrb_rw.py Wed Oct  6 
18:55:05 2010
@@ -1,6 +1,7 @@
 # Script for testing the reading and writing of BMRB files.
 
 # Python module imports.
+import __main__
 import sys
 from os import sep
 
@@ -20,7 +21,7 @@
 pipe.create(pipe_name='results', pipe_type='mf')
 
 # Read the results.
-results.read(file='final_results_trunc_1.3', dir=sys.path[-1] + 
'/test_suite/shared_data/model_free/OMP')
+results.read(file='final_results_trunc_1.3', dir=__main__.install_path + 
sep+'test_suite'+sep+'shared_data'+sep+'model_free'+sep+'OMP')
 
 # Play with the data.
 deselect.all()




Related Messages


Powered by MHonArc, Updated Mon Oct 11 00:20:01 2010