From daf09166e2ca0b520a47bbf9f8d3028f2f082028 Mon Sep 17 00:00:00 2001 From: David Gault Date: Fri, 3 May 2024 14:00:51 +0100 Subject: [PATCH] Flex: Remove use of runCount --- components/formats-gpl/src/loci/formats/in/FlexReader.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/formats-gpl/src/loci/formats/in/FlexReader.java b/components/formats-gpl/src/loci/formats/in/FlexReader.java index a967991b24b..6a9c78dab21 100644 --- a/components/formats-gpl/src/loci/formats/in/FlexReader.java +++ b/components/formats-gpl/src/loci/formats/in/FlexReader.java @@ -1381,7 +1381,7 @@ private void groupFiles(String[] fileList, MetadataStore store) FlexFile file = new FlexFile(); file.row = row; file.column = col; - file.field = field % (nFiles / runCount); + file.field = field; file.file = files.get(field); if (file.file == null) { @@ -1482,7 +1482,7 @@ private FlexFile lookupFile(int wellRow, int wellColumn, int field, int acquisit private FlexFile lookupFile(int fileSeries) { effectiveFieldCount = fieldCount; - if (wellCount * plateCount * runCount == flexFiles.size()) { + if (wellCount * plateCount == flexFiles.size()) { effectiveFieldCount = 1; }