scifio / scifio-ome-xml

SCIFIO plug-in providing support for the OME data model, including readers, writers and translators for OME-XML and OME-TIFF formats.
http://scif.io/
BSD 2-Clause "Simplified" License
2 stars 3 forks source link

OMEXMLFormat: verify valid stream before reading #20

Closed hinerm closed 10 years ago

hinerm commented 10 years ago

As observed in https://github.com/imagej/imagej-legacy/issues/35 the OMEXMLFormat$Checker does not check if it has a valid stream before reading.

Just needs a simple FormatTools.validStream check.