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 optional type check in HDF5 files #2721

Merged
merged 7 commits into from
Jul 11, 2023
Merged

Conversation

garth-wells
Copy link
Member

Until recently, reading from HDF5 would silently cast. The change in #2651 added a check, but this breaks some uses cases.

Until we have better support for reading different types, this PR makes a type check optional and adds comments to the docs of the lower-level functions.

Fixes #2701.

@garth-wells garth-wells added the proposal Suggested change or addition label Jul 11, 2023
@garth-wells garth-wells added this pull request to the merge queue Jul 11, 2023
Merged via the queue into main with commit 1c88f7d Jul 11, 2023
20 checks passed
@garth-wells garth-wells deleted the garth/hdf5-type-check branch July 11, 2023 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Suggested change or addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: MR #2651 broke reading meshtags in C++
1 participant