We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd1c5f commit a5be052Copy full SHA for a5be052
1 file changed
src/test/java/uk/ac/sussex/gdsc/ij/foci/AssignedPointUtilsTest.java
@@ -232,8 +232,9 @@ void canExtractRoiPointsFromImage(RandomSeed seed) {
232
Assertions.assertEquals(x[i], points[i].x);
233
Assertions.assertEquals(y[i], points[i].y);
234
Assertions.assertEquals(pos, points[i].z);
235
- Assertions.assertEquals(0, points[i].getChannel());
236
- Assertions.assertEquals(0, points[i].getFrame());
+ // PointRoi positions are converted to 1-indexed channel and frame for a z-stack
+ Assertions.assertEquals(1, points[i].getChannel());
237
+ Assertions.assertEquals(1, points[i].getFrame());
238
}
239
240
// Set into the ROI in bulk
0 commit comments