Skip to content

Commit

Permalink
Add default arguments to components and threshold functions (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzLamm authored Nov 1, 2023
1 parent 67417a4 commit d76e97e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/membrain_seg/segmentation/cli/segment_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down Expand Up @@ -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
...,
Expand Down

0 comments on commit d76e97e

Please sign in to comment.