OCR-D / ocrd_fileformat

OCR-D wrapper for ocr-fileformat
Apache License 2.0
4 stars 3 forks source link

does not work with nondefault METS basename #40

Closed bertsky closed 1 year ago

bertsky commented 2 years ago

When running on a workspace with URL ending in anything but mets.xml, the input gets processed, but the METS is not updated.

The reason seems to be that the final ocrd workspace bulk-add command should use ocrd workspace -m ${ocrd__argv[mets]} bulk-add (but after we chdired we should strip the directory part).

bertsky commented 2 years ago

@kba I'm afraid this apply to all of our bashlib processors…

kba commented 1 year ago

@kba I'm afraid this apply to all of our bashlib processors…

Indeed, it does, cf. https://github.com/OCR-D/core/issues/927