Skip to content

Commit

Permalink
Flex: Remove conditional branch for setting runDirs
Browse files Browse the repository at this point in the history
  • Loading branch information
dgault committed May 9, 2024
1 parent e6e5495 commit 8eb67df
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions components/formats-gpl/src/loci/formats/in/FlexReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -397,18 +397,6 @@ protected void initFile(String id) throws FormatException, IOException {
if (!dir.getName().startsWith("Meas_") || !groupPlates()) {
runDirs.add(dir);
}
else {
// look for other acquisitions of the same plate
dir = dir.getParentFile();
String[] parentDirs = dir.list(true);
Arrays.sort(parentDirs);
for (String d : parentDirs) {
Location f = new Location(dir.getAbsoluteFile(), d);
if (f.isDirectory() && d.startsWith("Meas_")) {
runDirs.add(f);
}
}
}

runCount = runDirs.size();
if (runCount == 0) runCount = 1;
Expand Down

0 comments on commit 8eb67df

Please sign in to comment.