Skip to content

Commit

Permalink
Update cli print info
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu-AnChen committed Nov 4, 2021
1 parent 4b98e8f commit 1b28a26
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions palom/cli/svs.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def main(argv=sys.argv):

parser = argparse.ArgumentParser(
description=(
'Align multiple SVS images of the same sample and writes a merged'
'pyramidal ome-tiff'
'Align multiple SVS images of the same biospecimen and writes a merged'
' pyramidal ome-tiff'
)
)
parser.add_argument(
Expand All @@ -27,8 +27,11 @@ def main(argv=sys.argv):
)

subparsers = parser.add_subparsers(
title='subcommands',
dest='subparser_name',
help='sub-command help'
help=(
'show configuration yaml example and schema; run using a configuration file'
)
)

parser_show = subparsers.add_parser('show')
Expand Down Expand Up @@ -59,6 +62,11 @@ def main(argv=sys.argv):
if len(argv) == 1:
parser.print_help()
return 0

if args.version:
print(f"palom v{_version}")
return 0

return args.func(args)


Expand Down

0 comments on commit 1b28a26

Please sign in to comment.