From 03489e73728496a84783ed897e36516e227987fc Mon Sep 17 00:00:00 2001 From: Brian Weir <94982354+WeirAE@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:05:59 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Paul Madden <136389411+maddenp-noaa@users.noreply.github.com> --- parm/wflow/coldstart.yaml | 4 ++-- scripts/chgres_cube.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parm/wflow/coldstart.yaml b/parm/wflow/coldstart.yaml index 1770367f1..b59e37aca 100644 --- a/parm/wflow/coldstart.yaml +++ b/parm/wflow/coldstart.yaml @@ -85,7 +85,7 @@ metatask_run_ensemble: mem: '{% if global.DO_ENSEMBLE %}{%- for m in range(1, global.NUM_ENS_MEMBERS+1) -%}{{ "%03d "%m }}{%- endfor -%} {% else %}{{ "000"|string }}{% endif %}' task_make_ics_mem#mem#: <<: *default_task - command: !cycstr 'source &USHdir;/load_modules_wflow.sh {{ user.MACHINE }} ; python &SCRIPTSdir;/chgres_cube.py + command: !cycstr 'source &USHdir;/load_modules_wflow.sh {{ user.MACHINE }} && &SCRIPTSdir;/chgres_cube.py -c &GLOBAL_VAR_DEFNS_FP; --cycle @Y-@m-@dT@H:@M:@S --key-path task_make_ics @@ -128,7 +128,7 @@ metatask_run_ensemble: task_make_lbcs_mem#mem#: <<: *default_task - command: !cycstr 'source &USHdir;/load_modules_wflow.sh {{ user.MACHINE }} ; python &SCRIPTSdir;/chgres_cube.py + command: !cycstr 'source &USHdir;/load_modules_wflow.sh {{ user.MACHINE }} && &SCRIPTSdir;/chgres_cube.py -c &GLOBAL_VAR_DEFNS_FP; --cycle @Y-@m-@dT@H:@M:@S --key-path task_make_lbcs diff --git a/scripts/chgres_cube.py b/scripts/chgres_cube.py index 2d7391f07..b2d87a1c3 100644 --- a/scripts/chgres_cube.py +++ b/scripts/chgres_cube.py @@ -92,7 +92,7 @@ def parse_args(argv): return parser.parse_args(argv) -# pylint: disable=too-many-locals, too-many-statements, too-many-branches +# pylint: disable-next=too-many-locals, too-many-statements, too-many-branches def run_chgres_cube(config_file, cycle, key_path, member): """ Setup and run the chgres_cube Driver.