v3.0.0b5
Pre-release
Pre-release
Fixed:
- tests: ensure
ocrd_utils.config
gets reset whenever changing it globally OcrdMetsServer.add_file
: pass onforce
kwargocrd.cli.workspace
: consistently pass on--mets-server-url
and--backup
ocrd.cli.validate "tasks"
: pass on--mets-server-url
ocrd.cli.bashlib "input-files"
: pass on--mets-server-url
lib.bash input-files
: pass on--mets-server-url
,--overwrite
, and parameterslib.bash
: fixerrexit
handlingocrd.cli.ocrd-tool "resolve-resource"
: forgot to actually print result
Changed:
- 🔥
Processor
/Workspace.add_file
: alwaysforce
ifOCRD_EXISTING_OUTPUT==OVERWRITE
- 🔥
Processor.verify
: revert 3.0.0b1 enforcing cardinality checks (stay backwards compatible) - 🔥
Processor.verify
: check output fileGrps, too
(must not exist unlessOCRD_EXISTING_OUTPUT=OVERWRITE|SKIP
or disjoint--page-id
range) - lib.bash
input-files
: do not try to validate tasks here (now covered byProcessor.verify()
) run_processor
: be robust ifocrd_tool
is missingsteps
PcGtsType.PageType.id
viamake_xml_id
: replace/
with_
Added:
OcrdPage
: newPageType.get_ReadingOrderGroups()
to retrieve recursive RO as dict- ocrd.cli.workspace
server
: add subcommandsreload
andsave
- METS Server: export and delegate
physical_pages
- processor CLI: delegate
--resolve-resource
, too Processor.process_page_file
/OcrdPageResultImage
: allowNone
besidesAlternativeImageType