added some more tests for job execution and ensured an error file is always produced but failed jobs

This commit is contained in:
PatchOfScotland
2023-02-09 16:10:10 +01:00
parent a2df62c693
commit abffeed9db
5 changed files with 203 additions and 36 deletions

View File

@ -191,7 +191,6 @@ def papermill_job_func(job_dir):
# Identify job files
meta_file = os.path.join(job_dir, META_FILE)
# TODO fix these paths so they are dynamic
base_file = os.path.join(job_dir, get_base_file(JOB_TYPE_PAPERMILL))
job_file = os.path.join(job_dir, get_job_file(JOB_TYPE_PAPERMILL))
result_file = os.path.join(job_dir, get_result_file(JOB_TYPE_PAPERMILL))