aboutsummaryrefslogtreecommitdiffstats
path: root/run_exps.py
diff options
context:
space:
mode:
authorBryan Ward <bcw@cs.unc.edu>2013-04-17 16:36:58 -0400
committerBryan Ward <bcw@cs.unc.edu>2013-04-17 16:36:58 -0400
commitb8f3c7a1ccd2fffc54f15e808505a568ce5fa492 (patch)
treedf2a20912c6604d398da508bc818a6bb67b5f90f /run_exps.py
parentb1860fce856c1d579008bc30cbf3513a860c3e69 (diff)
parent2a4b1c11751632dcc1f47c3c13ab2e2a718b883c (diff)
Merge branch 'master' of github.com:hermanjl/experiment-scripts
Diffstat (limited to 'run_exps.py')
-rwxr-xr-xrun_exps.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/run_exps.py b/run_exps.py
index 6531415..905d033 100755
--- a/run_exps.py
+++ b/run_exps.py
@@ -197,9 +197,8 @@ def run_parameter(exp_dir, out_dir, params, param_name):
197 script = com.get_executable(script_name, cwd=exp_dir) 197 script = com.get_executable(script_name, cwd=exp_dir)
198 198
199 out = open('%s/%s-out.txt' % (out_dir, param_name), 'w') 199 out = open('%s/%s-out.txt' % (out_dir, param_name), 'w')
200 prog = Executable(script, script_params, 200 prog = Executable(script, script_params, cwd=out_dir,
201 stderr_file=out, stdout_file=out) 201 stderr_file=out, stdout_file=out)
202 prog.cwd = out_dir
203 202
204 prog.execute() 203 prog.execute()
205 prog.wait() 204 prog.wait()