diff --git a/ush/generate_FV3LAM_wflow.py b/ush/generate_FV3LAM_wflow.py index 48e4a7c8b9..8c766fdb1f 100755 --- a/ush/generate_FV3LAM_wflow.py +++ b/ush/generate_FV3LAM_wflow.py @@ -549,7 +549,7 @@ def generate_FV3LAM_wflow( # # populate the namelist file # - args=[ "-n", FV3_NML_FP, + args=[ "-n", FV3_NML_FP, "-u", settings_str, "-o", FV3_NML_CYCSFC_FP, ] @@ -834,7 +834,7 @@ def setup_logging(logfile: str = "log.generate_FV3LAM_wflow", debug: bool = Fals parser.add_argument('-d', '--debug', action='store_true', help='Script will be run in debug mode with more verbose output') - args = parser.parse_args() + pargs = parser.parse_args() USHdir = os.path.dirname(os.path.abspath(__file__)) wflow_logfile = f"{USHdir}/log.generate_FV3LAM_wflow" @@ -842,7 +842,7 @@ def setup_logging(logfile: str = "log.generate_FV3LAM_wflow", debug: bool = Fals # Call the generate_FV3LAM_wflow function defined above to generate the # experiment/workflow. try: - expt_dir = generate_FV3LAM_wflow(USHdir, wflow_logfile, args.debug) + expt_dir = generate_FV3LAM_wflow(USHdir, wflow_logfile, pargs.debug) except: # pylint: disable=bare-except logging.exception( dedent(