Skip to content

Commit 06bbf19

Browse files
committed
ref: process_mask was renamed to process_labels
1 parent d1ad003 commit 06bbf19

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

chipstream/cli/cli_common.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ def get_choices_help_string_segmenter(class_dict):
8787
static_kw_methods = ["segment_algorithm"]
8888
static_kw_defaults = {}
8989
if class_obj.mask_postprocessing:
90-
static_kw_methods.append("process_mask")
91-
static_kw_defaults["process_mask"] = class_obj.mask_default_kwargs
90+
static_kw_methods.append("process_labels")
91+
static_kw_defaults["process_labels"] = \
92+
class_obj.mask_default_kwargs
9293
info_list.append(get_class_method_info(class_obj,
9394
static_kw_methods,
9495
static_kw_defaults))

chipstream/cli/cli_valid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def validate_segmentation_kwargs(seg_method, args):
104104
annot_appr = spec_appr.annotations
105105
# process_mask
106106
if seg_cls.mask_postprocessing:
107-
spec_mask = inspect.getfullargspec(seg_cls.process_mask)
107+
spec_mask = inspect.getfullargspec(seg_cls.process_labels)
108108
valid_kw_mask = spec_mask.kwonlyargs
109109
annot_mask = spec_mask.annotations
110110
else:

0 commit comments

Comments
 (0)