Skip to content

Commit b2b4ffa

Browse files
committed
roi_app_test: disable ROI creation with peak detection
1 parent 7197333 commit b2b4ffa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cdl/tests/features/common/roi_app_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ def __run_image_computations(panel: ImagePanel, singleobj: bool | None = None):
128128
panel.processor.run_feature("centroid")
129129
panel.processor.run_feature("enclosing_circle")
130130
panel.processor.run_feature("histogram", sigima_param.HistogramParam())
131-
panel.processor.run_feature("peak_detection", sigima_param.Peak2DDetectionParam())
131+
panel.processor.run_feature(
132+
"peak_detection", sigima_param.Peak2DDetectionParam.create(create_rois=False)
133+
)
132134
obj_nb = len(panel)
133135
last_obj = panel[obj_nb]
134136
roi = ImageROI(singleobj=singleobj)

0 commit comments

Comments
 (0)