From ce729aea140e72751a70f4caef278a930c564bd2 Mon Sep 17 00:00:00 2001 From: Melissa Linkert Date: Fri, 8 Mar 2024 10:02:48 -0600 Subject: [PATCH] Metaxpress: get the correct number of planes for each series ...instead of assuming all series (wells/fields) have the same number of planes. --- .../com/glencoesoftware/bioformats2raw/MetaxpressReader.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/glencoesoftware/bioformats2raw/MetaxpressReader.java b/src/main/java/com/glencoesoftware/bioformats2raw/MetaxpressReader.java index e82bf51..3927fb9 100644 --- a/src/main/java/com/glencoesoftware/bioformats2raw/MetaxpressReader.java +++ b/src/main/java/com/glencoesoftware/bioformats2raw/MetaxpressReader.java @@ -341,6 +341,9 @@ public int compare(MetaxpressSite a, MetaxpressSite b) { store.setPixelsPhysicalSizeX(physicalSizeX, image); store.setPixelsPhysicalSizeY(physicalSizeY, image); + // update series before checking effective SizeC and image count + // otherwise plane counts are assumed to be the same for all wells + setSeries(image); for (int c=0; c