Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add try except clauses to reduce errors in testing #4727

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

jedwards4b
Copy link
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
7 checks passed
@jedwards4b jedwards4b deleted the improved_reselience branch January 6, 2025 19:46
@ekluzek
Copy link
Contributor

ekluzek commented Jan 6, 2025

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