mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-08 22:29:56 +02:00
🧹 ppn2ocr: Remove obsolete comments re file: URLs
This commit is contained in:
parent
9a2cfa35d1
commit
c65dbf9b1f
1 changed files with 0 additions and 7 deletions
7
ppn2ocr
7
ppn2ocr
|
@ -150,13 +150,6 @@ def make_workspace(ppn, workspace):
|
||||||
# Validate workspace
|
# Validate workspace
|
||||||
#ocrd workspace validate mets.xml | grep -v "<notice>Won't download remote image"
|
#ocrd workspace validate mets.xml | grep -v "<notice>Won't download remote image"
|
||||||
|
|
||||||
# XXX
|
|
||||||
# Fix 'file:/' URLs to 'file:///'
|
|
||||||
#sed -i 's#file:/\([^/]\)#file:///\1#' mets.xml
|
|
||||||
|
|
||||||
# Patch mets.xml to use our NFS mount
|
|
||||||
#sed -i 's#file:///goobi/tiff001/sbb/#file:///srv/digisam_images/sbb/#g' mets.xml
|
|
||||||
|
|
||||||
|
|
||||||
def validate_ppn(ctx, param, value):
|
def validate_ppn(ctx, param, value):
|
||||||
"""Validate a PPN argument"""
|
"""Validate a PPN argument"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue