Skip to content

Commit cf48dfd

Browse files
committed
Remove Cellpose ROI overlap check
1 parent 5c5ccaf commit cf48dfd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

fractal_tasks_core/tasks/cellpose_segmentation.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
from fractal_tasks_core.roi import (
4545
find_overlaps_in_ROI_indices,
4646
)
47-
from fractal_tasks_core.roi import get_overlapping_pairs_3D
4847
from fractal_tasks_core.roi import is_ROI_table_valid
4948
from fractal_tasks_core.roi import load_region
5049
from fractal_tasks_core.tables import write_table
@@ -561,15 +560,6 @@ def cellpose_segmentation(
561560

562561
bbox_dataframe_list.append(bbox_df)
563562

564-
overlap_list = get_overlapping_pairs_3D(
565-
bbox_df, full_res_pxl_sizes_zyx
566-
)
567-
if len(overlap_list) > 0:
568-
logger.warning(
569-
f"ROI {indices} has "
570-
f"{len(overlap_list)} bounding-box pairs overlap"
571-
)
572-
573563
# Compute and store 0-th level to disk
574564
da.array(new_label_img).to_zarr(
575565
url=mask_zarr,

0 commit comments

Comments
 (0)