Skip to content
Snippets Groups Projects

copy retrieve_constant to slurm and leave latest copy in out-folder

Merged Karim Ahmed requested to merge fix/move_retrieve_yml_with_slurm into master
All threads resolved!
@@ -205,8 +205,8 @@ def make_report(run_path: str, tmp_path: str, out_path: str, project: str,
"""
run_path = path.abspath(run_path)
report_path, report_name = path.split(report_to)
if report_path == '':
if not report_path:
report_path = out_path
try:
@@ -305,7 +305,7 @@ def make_report(run_path: str, tmp_path: str, out_path: str, project: str,
except CalledProcessError:
print("Failed to make pdf documentation")
print("Temp files will not be deleted and " +
print("Temp files will not be deleted and "
f"can be inspected at: {run_path}")
return
Loading