Skip to content

Commit

Permalink
Merge pull request #242 from melissalinkert/metaxpress-plane-counts
Browse files Browse the repository at this point in the history
Metaxpress: get the correct number of planes for each series
  • Loading branch information
sbesson authored Mar 14, 2024
2 parents 80bfdae + ce729ae commit ffdfa40
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ public int compare(MetaxpressSite a, MetaxpressSite b) {
store.setPixelsPhysicalSizeX(physicalSizeX, image);
store.setPixelsPhysicalSizeY(physicalSizeY, image);

// update series before checking effective SizeC and image count
// otherwise plane counts are assumed to be the same for all wells
setSeries(image);
for (int c=0; c<getEffectiveSizeC(); c++) {
int cIndex = getIndex(0, c, 0);
if (cIndex < site.channelNames.size()) {
Expand All @@ -364,6 +367,7 @@ public int compare(MetaxpressSite a, MetaxpressSite b) {
well++;
}
}
setSeries(0);
watch.stop("populated well metadata");
}

Expand Down

0 comments on commit ffdfa40

Please sign in to comment.