Skip to content

Conversation

@jl-wynen
Copy link
Member

No description provided.

@jl-wynen jl-wynen requested a review from nvaytet October 23, 2023 08:13
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.

from .hdf5 import load_hdf5

__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
@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.

3 participants