Skip to content

Commit

Permalink
Keep reader in sync with ome/bioformats#4141
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoKiaru committed Jan 31, 2024
1 parent 7889f74 commit 8b7e911
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4351,7 +4351,8 @@ private void readPositions(Element acquisition) {
platePositions.add(value);
}
String name = well.getAttribute("Name");
for (int f=0; f<well.getElementsByTagName("SingleTileRegion").getLength(); f++) {
int tileRegionCount = (int) Math.max(1, well.getElementsByTagName("SingleTileRegion").getLength());
for (int f=0; f<tileRegionCount; f++) {
imageNames.add(name);
}
}
Expand Down

0 comments on commit 8b7e911

Please sign in to comment.