From e29d0696c821f66d93ebddc0705a1c4e13106a0b Mon Sep 17 00:00:00 2001 From: David Gault Date: Fri, 12 Jan 2024 11:22:06 +0000 Subject: [PATCH] Acquisition handling: fix maximumfieldcount check --- src/loci/formats/in/ZarrReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {