Skip to content

Commit 52889b4

Browse files
committed
Fix copilot suggestions
1 parent a1a3424 commit 52889b4

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

docs/source/post.v3.livvkit.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# This is an example zppy v3.1.0 configuration file for Chrysalis.
1+
# This is an example zppy v3.1.0 configuration file for Perlmutter.
22
# zppy v3.1.0 is included in E3SM Unified 1.12.
33
#
4-
# NOTE: This configuration generates approximately 220 tasks/jobs when fully enabled.
4+
# NOTE: This configuration generates 8 tasks/jobs when fully enabled.
55
# Users should only enable the tasks and time periods they need based on their specific
66
# analysis requirements to reduce computational load and queue time.
77

zppy/livvkit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def livvkit(config: ConfigObj, script_dir: str, existing_bundles, job_ids_file):
8282
fail_on_dependency_skip=c["fail_on_dependency_skip"],
8383
)
8484
else:
85-
print("...adding to bundle '{c['bundle']}'")
85+
print(f"...adding to bundle '{c['bundle']}'")
8686

8787
print(f" environment_commands={c['environment_commands']}")
8888
print_url(c, "livvkit")

zppy/templates/inclusions/livvkit/livvkit_r05.jinja

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,6 @@ common_merra_energy_vars: &common_merra_energy_vars
543543

544544
- title: Sensible heat
545545
dset_a: hfss
546-
dset_b: FSH
547546
model: FSH
548547
comment: ' (Positive to atmosphere)'
549548
sign: 1
@@ -552,7 +551,6 @@ common_merra_energy_vars: &common_merra_energy_vars
552551

553552
- title: Latent Heat Flux
554553
dset_a: hfls
555-
dset_b: EFLX_LH_TOT
556554
model: EFLX_LH_TOT
557555
comment: ' (Positive to atmosphere)'
558556
sign: 1

zppy/templates/livvkit.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ lex-cfg \
4848
echo ${workdir}
4949
echo {{ scriptDir }}
5050
livv --validate livvkit.yml --out-dir ./${case}.web
51-
mv livv_log_${case}.web.log ./${case}.web/logs
5251

5352
if [ $? != 0 ]; then
5453
cd {{ scriptDir }}
5554
echo 'ERROR (3)' > {{ prefix }}.status
5655
exit 3
5756
fi
57+
mv livv_log_${case}.web.log ./${case}.web/logs
5858

5959
# Copy output to web server
6060
echo

0 commit comments

Comments
 (0)