mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 14:49:53 +02:00
🐛 ppn2ocr: Remove LOCAL file group too
This commit is contained in:
parent
4e19e2a655
commit
448bf9e256
1 changed files with 3 additions and 2 deletions
5
ppn2ocr
5
ppn2ocr
|
@ -87,9 +87,10 @@ def make_workspace(ppn, workspace):
|
|||
mets = oai_mets(ppn)
|
||||
|
||||
# XXX
|
||||
# Delete PRESENTATION file group
|
||||
# (local file:/// links, not handled well by "ocrd workspace")
|
||||
# Delete PRESENTATION + LOCAL file groups
|
||||
# (local file:/// or file:/ links, not handled well by "ocrd workspace")
|
||||
remove_file_grp(mets, 'PRESENTATION')
|
||||
remove_file_grp(mets, 'LOCAL')
|
||||
|
||||
|
||||
# Duplicate DEFAULT file group into a new file group BEST
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue