From d76e97e2c51d920b8a3a932f3aa2862ce681481f Mon Sep 17 00:00:00 2001 From: LorenzLamm <34575029+LorenzLamm@users.noreply.github.com> Date: Wed, 1 Nov 2023 09:51:15 +0100 Subject: [PATCH] Add default arguments to components and threshold functions (#42) --- src/membrain_seg/segmentation/cli/segment_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/membrain_seg/segmentation/cli/segment_cli.py b/src/membrain_seg/segmentation/cli/segment_cli.py index 5125e8e..b96cbec 100644 --- a/src/membrain_seg/segmentation/cli/segment_cli.py +++ b/src/membrain_seg/segmentation/cli/segment_cli.py @@ -78,7 +78,7 @@ def segment( @cli.command(name="components", no_args_is_help=True) def components( segmentation_path: str = Option( # noqa: B008 - help="Path to the membrane segmentation to be processed.", **PKWARGS + ..., help="Path to the membrane segmentation to be processed.", **PKWARGS ), out_folder: str = Option( # noqa: B008 "./predictions", help="Path to the folder where segmentations should be stored." @@ -114,7 +114,7 @@ def components( @cli.command(name="thresholds", no_args_is_help=True) def thresholds( scoremap_path: str = Option( # noqa: B008 - help="Path to the membrane scoremap to be processed.", **PKWARGS + ..., help="Path to the membrane scoremap to be processed.", **PKWARGS ), thresholds: List[float] = Option( # noqa: B008 ...,