Skip to content

add try except clauses to reduce errors in testing#4727

Merged
jedwards4b merged 1 commit into
ESMCI:masterfrom
jedwards4b:improved_reselience
Jan 6, 2025
Merged

add try except clauses to reduce errors in testing#4727
jedwards4b merged 1 commit into
ESMCI:masterfrom
jedwards4b:improved_reselience

Conversation

@jedwards4b

Copy link
Copy Markdown
Contributor

Avoid errors by not attempting to change read only case and using try except on git commit so that if there is nothing to commit no error is issued. Fixes CTSM SSP tests.

Test suite: SSP_Ld4.f09_g17.I1850Clm50BgcCrop.derecho_intel.clm-ciso_rtmColdSSP
Test baseline:
Test namelist changes:
Test status: bit for bit
Fixes [CIME Github issue #]

User interface changes?:

Update gh-pages html (Y/N)?:

@jedwards4b jedwards4b self-assigned this Jan 2, 2025
@jedwards4b jedwards4b requested review from briandobbins and removed request for fischer-ncar January 2, 2025 15:02
@jedwards4b jedwards4b merged commit cdf76d6 into ESMCI:master Jan 6, 2025
@jedwards4b jedwards4b deleted the improved_reselience branch January 6, 2025 19:46
@ekluzek

ekluzek commented Jan 6, 2025

Copy link
Copy Markdown
Contributor

Thanks for figuring this out and bringing this in @jedwards4b! I'll do some testing with this in CTSM with the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants