Skip to content

v2.69.0

Compare
Choose a tag to compare
@kba kba released this 30 Sep 16:34
· 105 commits to master since this release

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: make list-page work w/ METS Server
  • ocrd.cli.validate "tasks": pass on --mets-server-url
  • lib.bash: fix errexit 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 on force kwarg
  • Workspace.reload_mets: handle ClientSideOcrdMets as well
  • OcrdMets.get_physical_pages: cover return_divs w/o for_fileIds and for_pageIds
  • disableLogging: also re-instate root logger to Python defaults
  • OcrdExif: handle multi-frame TIFFs gracefully in identify callout, #1276

Changed:

  • run_processor: be robust if ocrd_tool is missing steps
  • PcGtsType.PageType.id via make_xml_id: replace / with _
  • ClientSideOcrdMets: use same logger name prefix as METS Server
  • Processor.zip_input_files: when --page-id yields empty list, just log instead of raise

Added:

  • OcrdPage: new PageType.get_ReadingOrderGroups() to retrieve recursive RO as dict
  • METS Server: export and delegate physical_pages
  • ocrd.cli.workspace server: add subcommands reload and save
  • processor CLI: delegate --resolve-resource, too
  • OcrdConfig.reset_defaults to reset config variables to their defaults
  • ocrd_utils.scale_coordinates for resizing images