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

Implement H5Arename/H5Arename_by_name by copy #95

Merged
merged 3 commits into from
Nov 16, 2023

Conversation

mattjala
Copy link
Collaborator

@mattjala mattjala commented Nov 1, 2023

This PR implements H5Arename(_by_name) by creating a new attribute of the desired name, copying the information, and deleting the old attribute.

The H5Arename test was removed from test_rest_vol.c because it would occasionally generate invalid datatypes for HSDS; the H5Arename tests in vol-tests are used to test this function.

@mattjala mattjala added the enhancement New feature or request label Nov 1, 2023
@mattjala mattjala marked this pull request as ready for review November 6, 2023 21:14
@mattjala mattjala changed the title Implement H5Arename/H5Arename_by_name without copying data Implement H5Arename/H5Arename_by_name by copy Nov 6, 2023
@mattjala mattjala added the testing Related to testing process label Nov 9, 2023
src/rest_vol_attr.c Outdated Show resolved Hide resolved
Copy link
Collaborator

@jhendersonHDF jhendersonHDF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine other than the minor comment

@mattjala mattjala merged commit b981733 into HDFGroup:master Nov 16, 2023
10 checks passed
@mattjala mattjala deleted the H5Arename branch November 16, 2023 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing Related to testing process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants