Closed sbesson closed 1 year ago
Some update on this investigation. Using a representative TIFF file from https://idr.openmicroscopy.org/webclient/?show=plate-6301, I can reproduce the issue using the following minimal screen file
[Plate]
Name = Week10_40111
Rows = 1
Columns = 1
Fields = 1
[Well 0]
Row = 0
Column = 0
Field_0 = Week10_200907_B02_s1_w18E215662-2CF7-4739-93F3-DBD0C40B78DB.tif
This will throw a org.xml.sax.SAXParseException
when running showinf -nopix -omexml
. Passing -no-sas
is sufficient to avoid the failure.
I cannot reproduce the issue while using either a fake file or a TIFF file converted from a fake file (and including some original metadata) in the screen.
Also running showinf -nopix -omexml
on Week10_200907_B02_s1_w18E215662-2CF7-4739-93F3-DBD0C40B78DB.tif
directly does not throw any error
This issue was exposed by the ongoing investigation about converting IDR studies and more specifically the work in https://github.com/IDR/bioformats2raw/pull/1
The converter failed when writing out the OME-XML under
OME/METADATA.ome.xml
with an error of typeThe same issue can be reproduced outside the context of the converter utility by using the command-line
showing
utility (with the IDR bioformats_package) with the-omexml
option which also attempts to print the OME-XML to stdout: