diff --git a/ocr_pyflow b/ocr_pyflow index d54e5ab..399f772 100755 --- a/ocr_pyflow +++ b/ocr_pyflow @@ -201,7 +201,7 @@ class OCRWorkflow(WorkflowRunner): ### # Task "cleanup_job": remove temporary files - # Dependencies: hocr_to_teip5_job + move_hocr_jobs + pdf_merge_jobs + pdf_to_txt_jobs + # Dependencies: hocr_to_teip5_jobs + move_hocr_jobs + pdf_merge_jobs + pdf_to_txt_jobs ### cleanup_jobs = [] cleanup_job_counter = 0 @@ -211,7 +211,7 @@ class OCRWorkflow(WorkflowRunner): cmd = 'rm -r "%s"' % ( os.path.join(job["output_dir"], "tmp") ) - cleanup_jobs.append(self.addTask(label="cleanup_job_-_%i" % (cleanup_job_counter), command=cmd, dependencies=hocr_to_teip5_job + move_hocr_jobs + pdf_merge_jobs + pdf_to_txt_jobs)) + cleanup_jobs.append(self.addTask(label="cleanup_job_-_%i" % (cleanup_job_counter), command=cmd, dependencies=hocr_to_teip5_jobs + move_hocr_jobs + pdf_merge_jobs + pdf_to_txt_jobs)) def analyze_jobs(inputDir, outputDir, level=1):