Skip to content

Commit

Permalink
resolved lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
subinkitware committed Sep 6, 2023
1 parent 3b3ac87 commit 501a1f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion histomicstk/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ def create_tile_nuclei_boundary_annotations(im_nuclei_seg_mask, tile_info, regio

if region_props:
by, bx, selected_rows = htk_seg.label.trace_object_boundaries(im_nuclei_seg_mask,
trace_all=True, region_props=region_props)
trace_all=True,
region_props=region_props)
else:
by, bx = htk_seg.label.trace_object_boundaries(im_nuclei_seg_mask,
trace_all=True)
Expand Down
4 changes: 2 additions & 2 deletions histomicstk/segmentation/nuclear/detect_tile_nuclei.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def detect_tile_nuclei(tile_info, args, src_mu_lab=None,
else:
nuclei_annot_list = cli_utils.create_tile_nuclei_annotations(
im_nuclei_seg_mask, tile_info, format)

if return_fdata:
return nuclei_annot_list, fdata

return nuclei_annot_list

0 comments on commit 501a1f5

Please sign in to comment.