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

Make a deep copy of PatchCollections in ISOMIP+ test cases #880

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Jan 2, 2025

The shallow copy previously used (copy.copy()) was allowing modifications of attributes to persist across different plots, with unintended consequences.

Checklist

  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes

Fixes #877

The shallow copy previously used (`copy.copy()`) was allowing
modifications of attributes to persist across different plots,
with unintended consequences.
@xylar xylar added bug Something isn't working ocean labels Jan 2, 2025
@xylar xylar self-assigned this Jan 2, 2025
@xylar
Copy link
Collaborator Author

xylar commented Jan 2, 2025

Testing

I successfully ran ocean_isomip_plus_planar_5km_z-star_Ocean0 on Chrysalis, whereas it was failing with #877 before this fix.

@xylar xylar merged commit a233a2f into MPAS-Dev:main Jan 2, 2025
6 checks passed
@xylar xylar deleted the fix-isomip-plus-viz branch January 2, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ocean
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ISOMIP+ viz error
1 participant