mailr7026 - /1.3/test_suite/system_tests/scripts/palmer.py


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

Header


Content

Posted by sebastien . morin . 1 on July 29, 2008 - 23:15:
Author: semor
Date: Tue Jul 29 23:15:27 2008
New Revision: 7026

URL: http://svn.gna.org/viewcvs/relax?rev=7026&view=rev
Log:
A temporary directory is now created for ModelFree4 output.

This directory is only created and the function for deleting it still needs 
to be added.

This follows the proposal of Edward d'Auvergne at:
https://mail.gna.org/public/relax-devel/2008-07/msg00038.html (message ID:
7f080ed10807290219m18601df6nf2df7e91848a9680@xxxxxxxxxxxxxx).


Modified:
    1.3/test_suite/system_tests/scripts/palmer.py

Modified: 1.3/test_suite/system_tests/scripts/palmer.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/scripts/palmer.py?rev=7026&r1=7025&r2=7026&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/scripts/palmer.py (original)
+++ 1.3/test_suite/system_tests/scripts/palmer.py Tue Jul 29 23:15:27 2008
@@ -1,7 +1,11 @@
 # Script for model-free analysis using the program 'Modelfree4'.
 
 # Python module imports.
+from os import chdir
 import sys
+
+# relax module imports.
+from relax_io import mkdir_nofail
 
 # Set the stage of analysis.
 #
@@ -119,6 +123,10 @@
 # Set the run name (also the name of a preset model-free model).
 runs = ['m1', 'm2', 'm3']
 
+# Create a temporary directory for ModelFree4 outputs and move into it.
+mkdir_nofail(sys.path[-1] + '/test_suite/system_tests/data/temp_palmer')
+chdir(sys.path[-1] + '/test_suite/system_tests/data/temp_palmer')
+
 # Run the stages.
 exec_stage_1(runs)
 exec_stage_2(runs)




Related Messages


Powered by MHonArc, Updated Tue Jul 29 23:40:09 2008