Skip to content

Commit

Permalink
OMEXMLReader: replace assignment operator by logical or operator
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Jul 22, 2024
1 parent cad5a4f commit 198c4a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 198c4a6

Please sign in to comment.