diff --git a/components/formats-bsd/src/loci/formats/in/OMEXMLReader.java b/components/formats-bsd/src/loci/formats/in/OMEXMLReader.java index 6ce56250894..617ccdca02b 100644 --- a/components/formats-bsd/src/loci/formats/in/OMEXMLReader.java +++ b/components/formats-bsd/src/loci/formats/in/OMEXMLReader.java @@ -290,7 +290,7 @@ protected void initFile(String id) throws FormatException, IOException { Integer t = omexmlMeta.getPixelsSizeT(i).getValue(); Integer z = omexmlMeta.getPixelsSizeZ(i).getValue(); Integer c = omexmlMeta.getPixelsSizeC(i).getValue(); - if (w == null || h == null || t == null || z == null | c == null) { + if (w == null || h == null || t == null || z == null || c == null) { throw new FormatException("Image dimensions not found"); }