Skip to content

Commit

Permalink
Ensure WellSampleIndex is used when comparing to OME-XML
Browse files Browse the repository at this point in the history
  • Loading branch information
dgault committed Nov 3, 2023
1 parent 4357f54 commit 6b1da51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loci/formats/in/ZarrReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -983,8 +983,8 @@ private void parseOMEXML(Location omeMetaFile, MetadataStore store, ArrayList<St
NonNegativeInteger row = omexmlMeta.getWellRow(plateIndex, wellIndex);

String rowLetter = getRowString(row.getValue());
String expectedPath = rowLetter + File.separator + (col.getValue() + 1) + File.separator + "0";
for (int wellSampleIndex = 0; wellSampleIndex < omexmlMeta.getWellSampleCount(plateIndex, wellIndex); wellSampleIndex++) {
String expectedPath = rowLetter + File.separator + (col.getValue() + 1) + File.separator + wellSampleIndex;
String imageRef = omexmlMeta.getWellSampleImageRef(plateIndex, wellIndex, wellSampleIndex);
imageRefPaths.put(imageRef, expectedPath);
}
Expand Down

0 comments on commit 6b1da51

Please sign in to comment.