mirror of
				https://github.com/qurator-spk/ocrd-galley.git
				synced 2025-10-31 03:04:12 +01:00 
			
		
		
		
	🎨 Put validate options into a variable
This commit is contained in:
		
							parent
							
								
									5ece7f1b0a
								
							
						
					
					
						commit
						c8039db686
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue