Skip to content

Conversation

@radistmorse
Copy link
Contributor

Since attributes can be added to both groups and datasets, there is no point to make AttributePhaseChange exclusive to GroupCreateProps. Technically, H5Pset_attr_phase_change/H5Pget_attr_phase_change are from OCPL, which makes them eligible for ObjectCreateProps, FileCreateProps and DataSetCreateProps. But since ObjectCreateProps is not really used anywhere, only the other two really make sense. Attributes could be added to both DataSets and files (which is the same as adding them to the root group), so the ability to set the phase change for them is also logical.

@1uc
Copy link
Contributor

1uc commented Jul 15, 2025

@radistmorse Thank you, I've added a commit with tests, and a small fix to make it possible to read the attribute phase change related values from the two newly supported property lists.

If CI passes we'll, I propose to "squash and merge", which should make you the author.

@codecov
Copy link

codecov bot commented Jul 15, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@1uc 1uc merged commit 73c07de into highfive-devs:main Jul 15, 2025
34 checks passed
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