Skip to content

Commit

Permalink
CC-11 Add help for the "resolution" argument
Browse files Browse the repository at this point in the history
  • Loading branch information
aranega committed Nov 21, 2023
1 parent 805a89f commit 38fc6e7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/cryo_et_neuroglancer/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ def parse_args(args):
subcommand.add_argument(
"-b", "--block-size", required=False, default=64, help="Block size"
)
subcommand.add_argument("-r", "--resolution", nargs="+", type=float)
subcommand.add_argument(
"-r",
"--resolution",
nargs="+",
type=float,
help="Resolution, must be either 3 values for X Y Z separated by spaces, or a single value that will be set for X Y and Z",
)
subcommand.set_defaults(func=encode_segmentation)

return parser.parse_args(args)
Expand Down

0 comments on commit 38fc6e7

Please sign in to comment.