From 501a1f50b1f50d12906e46ab28b9864eb752697e Mon Sep 17 00:00:00 2001 From: Subin Erattakulangara Date: Wed, 6 Sep 2023 11:57:12 -0400 Subject: [PATCH] resolved lint issues --- histomicstk/cli/utils.py | 3 ++- histomicstk/segmentation/nuclear/detect_tile_nuclei.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/histomicstk/cli/utils.py b/histomicstk/cli/utils.py index 9700cfde0..6e88d58d4 100644 --- a/histomicstk/cli/utils.py +++ b/histomicstk/cli/utils.py @@ -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) diff --git a/histomicstk/segmentation/nuclear/detect_tile_nuclei.py b/histomicstk/segmentation/nuclear/detect_tile_nuclei.py index ca304e88c..44316339e 100644 --- a/histomicstk/segmentation/nuclear/detect_tile_nuclei.py +++ b/histomicstk/segmentation/nuclear/detect_tile_nuclei.py @@ -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