From 448bf9e25642affe38aed964a18db1cbc6a5f762 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Thu, 4 Jun 2020 19:55:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20ppn2ocr:=20Remove=20LOCAL=20file?= =?UTF-8?q?=20group=20too?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ppn2ocr | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ppn2ocr b/ppn2ocr index c21e170..db1ee06 100755 --- a/ppn2ocr +++ b/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