Skip to content
Snippets Groups Projects
Commit 18a54009 authored by Steffen Hauf's avatar Steffen Hauf
Browse files

Always create output folder

parent 6ca2c6a7
No related branches found
No related tags found
1 merge request!125Always create output folder
...@@ -676,8 +676,8 @@ def run(): ...@@ -676,8 +676,8 @@ def run():
else: else:
print("No 'out_folder' defined as argument, outputting to '{}' instead.".format( print("No 'out_folder' defined as argument, outputting to '{}' instead.".format(
out_path)) out_path))
else:
os.makedirs(out_path) os.makedirs(out_path, exist_ok=True)
cmd = ('"from cal_tools.tools import finalize; ' + cmd = ('"from cal_tools.tools import finalize; ' +
'finalize({{joblist}}, $1, \'{run_path}\', \'{out_path}\', ' + 'finalize({{joblist}}, $1, \'{run_path}\', \'{out_path}\', ' +
'\'{project}\', \'{calibration}\', \'{author}\', ' '\'{project}\', \'{calibration}\', \'{author}\', '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment