Skip to content

Commit

Permalink
Improve formating
Browse files Browse the repository at this point in the history
  • Loading branch information
markspec authored and tasansal committed Aug 25, 2023
1 parent a678775 commit 14936c1
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/mdio/commands/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,19 @@ def cli():
"-exc",
"--excludes",
required=False,
help="Data to exclude during copy. i.e. chunked_012. The raw data won’t be copied, but it will create an empty array to be filled. If left blank, it will copy everything.",
help="""Data to exclude during copy. i.e. chunked_012. The raw data won’t be
copied, but it will create an empty array to be filled. If left blank, it will
copy everything.""",
type=click.STRING,
)
@click.option(
"-inc",
"--includes",
required=False,
help="Data to include during copy. i.e. trace_headers. If this is not specified, and certain data is excluded, it will not copy headers. If you want to preserve headers, specify trace_headers. If left blank, it will copy everything except specified in excludes parameter.",
help="""Data to include during copy. i.e. trace_headers. If this is not
specified, and certain data is excluded, it will not copy headers. If you want
to preserve headers, specify trace_headers. If left blank, it will copy
everything except specified in excludes parameter.""",
type=click.STRING,
)
@click.option(
Expand Down Expand Up @@ -118,7 +123,8 @@ def copy(
"--output-format",
required=False,
default="plain",
help="Output format, plain is human readable. JSON will output in json format for easier passing. ",
help="""Output format, plain is human readable. JSON will output in json
format for easier passing. """,
type=click.Choice(["plain", "json"]),
show_default=True,
show_choices=True,
Expand All @@ -129,9 +135,9 @@ def info(
):
"""Provide information on MDIO dataset.
By default this returns human readable information about the grid and stats for the dataset. If output-format is set to json then a json is returned to facilitate parsing
By default this returns human readable information about the grid and stats for
the dataset. If output-format is set to json then a json is returned to
facilitate parsing.
"""
reader = mdio.MDIOReader(input_mdio_file, return_metadata=True)
mdio_dict = {}
Expand Down

0 comments on commit 14936c1

Please sign in to comment.