Skip to content

Commit

Permalink
Flex: Remove use of runCount
Browse files Browse the repository at this point in the history
  • Loading branch information
dgault committed May 3, 2024
1 parent 264ff1e commit daf0916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/formats-gpl/src/loci/formats/in/FlexReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit daf0916

Please sign in to comment.