Commit 750307fc by Tobias Langer

More usability.

parent f018b8b5
......@@ -115,12 +115,17 @@ def main():
makefile = os.path.join(template_path, 'Makefile')
cpp = os.path.join(template_path, 'experiment.cpp')
try:
output_path = experiment['output']
except KeyError:
output_path = cwd
print('[{}/{}] Creating experiment {}:'.format(num + 1,
len(args.description),
experiment['name']),
file=sys.stderr)
experiment_dir = os.path.join(cwd, experiment['name'])
experiment_dir = os.path.join(output_path, experiment['name'])
# Create folder
print('Create folder…', experiment_dir, file=sys.stderr)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment