Bio-Formats is a Java library for reading and writing data in life sciences image file formats. It is developed by the Open Microscopy Environment. Bio-Formats is released under the GNU General Public License (GPL); commercial licenses are available from Glencoe Software.
Without this PR, showinf -nopix on any OME-XML file with OriginalMetadata annotations should show that the annotations are not stored in the reader's original metadata table. This issue was originally noticed with OME/METADATA.ome.xml files produced by bioformats2raw.
With this PR, showinf -nopix on the same test data should show that the original metadata table is populated as expected.
I'm not entirely sure why this was commented out in the first place, but that was ~14 years ago. I suspect we did not have a working method that created a Hashtable from OriginalMetadata annotations in an OMEXMLMetadata.
Without this PR,
showinf -nopix
on any OME-XML file withOriginalMetadata
annotations should show that the annotations are not stored in the reader's original metadata table. This issue was originally noticed withOME/METADATA.ome.xml
files produced by bioformats2raw.With this PR,
showinf -nopix
on the same test data should show that the original metadata table is populated as expected.I'm not entirely sure why this was commented out in the first place, but that was ~14 years ago. I suspect we did not have a working method that created a
Hashtable
fromOriginalMetadata
annotations in anOMEXMLMetadata
.