From c8039db686da42bb358b24efe603a905fa2ec7b6 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Fri, 7 Feb 2020 14:13:32 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Put=20validate=20options=20into?= =?UTF-8?q?=20a=20variable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- my_ocrd_workflow | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/my_ocrd_workflow b/my_ocrd_workflow index 54ce816..e07e6a6 100755 --- a/my_ocrd_workflow +++ b/my_ocrd_workflow @@ -22,7 +22,12 @@ remove_filegrp() { } 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 INVALIDITY in Glyph ID etc. in GT → --page-coordinate-consistency off