Skip to content

Commit

Permalink
more black updates
Browse files Browse the repository at this point in the history
  • Loading branch information
adrifoster committed Apr 22, 2024
1 parent 4b32a31 commit f582829
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions python/ctsm/subset_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def get_parser():
action="store_true",
dest="create_domain",
required=False,
)
)
subparser.add_argument(
"--create-user-mods",
help="Create user mods directories and files for running CTSM with the subset data.",
Expand Down Expand Up @@ -386,14 +386,7 @@ def check_args(args):
)
raise argparse.ArgumentError(None, err_msg)

if not any(
[
args.create_surfdata,
args.create_landuse,
args.create_datm,
args.create_domain
]
):
if not any([args.create_surfdata, args.create_landuse, args.create_datm, args.create_domain]):
err_msg = textwrap.dedent(
"""\
\n ------------------------------------
Expand Down

0 comments on commit f582829

Please sign in to comment.