From e84403d5ac6d75709414fd7760fffec1e49244c1 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 15 Jan 2019 11:13:11 +0100 Subject: [PATCH] fix --- ocr_pyflow | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ocr_pyflow b/ocr_pyflow index 399f772..ad6beb0 100755 --- a/ocr_pyflow +++ b/ocr_pyflow @@ -120,9 +120,9 @@ class OCRWorkflow(WorkflowRunner): ocropusnlbin_job_number = 0 for job in self.jobs: ocropusnlbin_job_number += 1 - cmd = 'ocropus-nlbin -o "%s" "%s"' % ( + cmd = 'ocropus-nlbin -o "%s" "%s"/*' % ( os.path.join(job["output_dir"], "tmp", "ocropus-nlbin"), - os.path.join(job["output_dir"], "tmp", "tiff_files", "page-*.tif") + os.path.join(job["output_dir"], "tmp", "tiff_files") ) ocropusnlbin_jobs.append(self.addTask(label="ocropusnlbin_job_-_%i" % (ocropusnlbin_job_number), command=cmd, dependencies=split_jobs))