Fixed:
--help: Improve formatting of parameters, document--overwrite, ht @bersky
Changed:
Workspace.remove_file: Optionalpage_recursiveparameter to remove images linked in PAGE as well, #434, #471Workspace.remove_file: Optionalpage_same_gropupparameter to remove
only those images linked in PAGE that are in the same group as the PAGE-XMLWorkspace.remove_file_gropup: The samepage_recursiveandpage_same_gropupparameters asWorkspace.remove_fileWorkspaceValidator.check_file_grpnow accepts apage_idparameter and will no raise an error if an exisitng
output file group is targeted but for pages that aren't in that group, #471ocrd_cli_wrap_processor: Takepage_idinto account when doingWorkspaceValidator.check_file_grprun_cliaccepts anoverwriteparameter to pass on to processor calls, #471blocked by OCR-D/spec#121Task.validate: set implicit input/output groups from ocrd-tool.json, #471ocrd process: support --overwrite and pass on to processor calls, #471TaskSequencec.validate_tasks: Check output file groups are not in METS unless overwrite for every task, ht @berskyocrd workspace add/ocrd workspace bulk-addsupport--ignore
Added:
- Workspace: Optional
overwrite_modethat setsforcefor all operations OcrdPage:get_AllAlternaiveImagePathsto list allpc:AlternativeImage/@filenamereferenced in a PcGts, #434, #471ocrd workspace bulk-addto add many files at once to a workspace, #428OcrdMets.add_file:ignoreparameter to optionally disable looking for existing files, #428