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

Remove deprecated HDF5 functions #3300

Merged
merged 4 commits into from Oct 23, 2023
Merged

Remove deprecated HDF5 functions #3300

merged 4 commits into from Oct 23, 2023

Conversation

jl-wynen
Copy link
Member

No description provided.

@jl-wynen jl-wynen requested a review from nvaytet October 23, 2023 08:13
@@ -472,41 +472,3 @@ def load_hdf5(filename: Union[str, Path]) -> VariableLike:

with h5py.File(filename, 'r') as f:
return HDF5IO.read(f)


def to_hdf5(obj: VariableLike, filename: Union[str, Path]) -> None:
Copy link
Member

Choose a reason for hiding this comment

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

As the CI says, you forgot to update the imports. Not sure if API reference also needs updating?
Otherwise, looks good.


__all__ = ["load_csv", "load_hdf5", "open_hdf5", "to_hdf5"]
__all__ = ["load_csv", "load_hdf5"]
Copy link
Member

Choose a reason for hiding this comment

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

Do we also need to make save_hdf5 available?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think anyone uses it as a free function. But I guess that would make sense.

@jl-wynen jl-wynen merged commit 94c2255 into main Oct 23, 2023
4 checks passed
@jl-wynen jl-wynen deleted the remove-open-hdf5 branch October 23, 2023 12:48
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.

None yet

2 participants