cisocrgroup/ocrd_cis

ocrd-cis-post-correct.sh is not OCR-D ready

Closed this issue · 5 comments

There seems to be a mix-up of input and output groups.
ocrd-cis-post-correct.sh -m mets.xml -p anyFile -I OCR-D-GT-SEG-BLOCK,OCR-D-GT-SEG-PAGE -O newOutputGorup
Exception: Invalid input/output file grps:
Output fileGrp[@use='OCR-D-GT-SEG-BLOCK'] already in METS!

For the parameters '-J' and '--help' all other parameters must also be set which is not very helpful. ;-)

finkf commented

I will fix this ASAP. Thanks for reporting this issue.

finkf commented

I have a fix coming up that addresses this issue. The fix will also fix #42

finkf commented

fixed in 34201b6

👍 Thanks. Works now fine for me.