diff --git a/src/loci/formats/in/ZarrReader.java b/src/loci/formats/in/ZarrReader.java index e046ec7..c479223 100644 --- a/src/loci/formats/in/ZarrReader.java +++ b/src/loci/formats/in/ZarrReader.java @@ -766,7 +766,7 @@ private void parsePlate(Map attr, String root, String key, Metad if (acqDescription != null) { store.setPlateAcquisitionDescription(acqDescription, 0, a); } - if (acqDescription != null) { + if (maximumfieldcount != null) { store.setPlateAcquisitionMaximumFieldCount(new PositiveInteger(maximumfieldcount), 0, a); } if (acqStartTime != null) {