🎨 Put validate options into a variable

pull/27/head
Gerber, Mike 5 years ago
parent 5ece7f1b0a
commit c8039db686

@ -22,7 +22,12 @@ remove_filegrp() {
} }
do_validate() { do_validate() {
ocrd workspace validate --skip dimension --skip pixel_density --page-strictness lax --page-coordinate-consistency off mets.xml validate_options="
--skip dimension
--skip pixel_density
--page-strictness lax
--page-coordinate-consistency off"
ocrd workspace validate $validate_options
# XXX ocrd-tesserocr INCONSISTENCY in TextRegion → use "--page-strictness lax" for now # XXX ocrd-tesserocr INCONSISTENCY in TextRegion → use "--page-strictness lax" for now
# XXX INVALIDITY in Glyph ID etc. in GT → --page-coordinate-consistency off # XXX INVALIDITY in Glyph ID etc. in GT → --page-coordinate-consistency off

Loading…
Cancel
Save