From f58282921d31c0644869873c3728299d7782f009 Mon Sep 17 00:00:00 2001 From: Adrianna Foster Date: Mon, 22 Apr 2024 10:52:51 -0600 Subject: [PATCH] more black updates --- python/ctsm/subset_data.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/python/ctsm/subset_data.py b/python/ctsm/subset_data.py index 32b76d311d..be5e26fcbd 100644 --- a/python/ctsm/subset_data.py +++ b/python/ctsm/subset_data.py @@ -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.", @@ -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 ------------------------------------