Skip to content
Snippets Groups Projects
Commit d880f019 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

FIX - Recreate folder if sphinx-rep already existed and fix warning message...

FIX - Recreate folder if sphinx-rep already existed and fix warning message for concurrency parameter.
parent 969cd856
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,10 @@ def natural_keys(text):
def combine_report(run_path, calibration):
sphinx_path = "{}/sphinx_rep".format(path.abspath(run_path))
# if the finalize job was preempted or requeued,
# while building the report.
if isdir(sphinx_path):
rmtree(sphinx_path)
makedirs(sphinx_path)
direntries = listdir(run_path)
direntries.sort(key=natural_keys)
......
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