v2.69.0
Fixed:
- tests: ensure
ocrd_utils.config
gets reset whenever changing it globally ocrd.cli.workspace
: consistently pass on--mets-server-url
and--backup
ocrd.cli.workspace
: makelist-page
work w/ METS Serverocrd.cli.validate "tasks"
: pass on--mets-server-url
lib.bash
: fixerrexit
handling- actually apply CLI
--log-filename
, and show in--help
- adapt to Pillow changes
ocrd workspace clone
: do pass on--file-grp
(for download filtering)OcrdMetsServer.add_file
: pass onforce
kwargWorkspace.reload_mets
: handle ClientSideOcrdMets as wellOcrdMets.get_physical_pages
: coverreturn_divs
w/ofor_fileIds
andfor_pageIds
disableLogging
: also re-instate root logger to Python defaultsOcrdExif
: handle multi-frame TIFFs gracefully inidentify
callout, #1276
Changed:
run_processor
: be robust ifocrd_tool
is missingsteps
PcGtsType.PageType.id
viamake_xml_id
: replace/
with_
ClientSideOcrdMets
: use same logger name prefix as METS ServerProcessor.zip_input_files
: when--page-id
yields empty list, just log instead of raise
Added:
OcrdPage
: newPageType.get_ReadingOrderGroups()
to retrieve recursive RO as dict- METS Server: export and delegate
physical_pages
- ocrd.cli.workspace
server
: add subcommandsreload
andsave
- processor CLI: delegate
--resolve-resource
, too OcrdConfig.reset_defaults
to reset config variables to their defaultsocrd_utils.scale_coordinates
for resizing images