|
|
@ -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"""
|
|
|
|