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

Allow HDF5Writer to append output #1448

Merged
merged 1 commit into from
Sep 8, 2023
Merged

Allow HDF5Writer to append output #1448

merged 1 commit into from
Sep 8, 2023

Conversation

Sbozzolo
Copy link
Member

@Sbozzolo Sbozzolo commented Sep 6, 2023

This change adds an option to HDF5Writer so that data can be appended to an existing file instead of overwriting it.

From https://juliaio.github.io/HDF5.jl/stable/#Opening-and-closing-files

cw = read-write, create file if not existing, preserve existing contents

Copy link
Member

@simonbyrne simonbyrne left a comment

Choose a reason for hiding this comment

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

Seems reasonable, but we should add docs.

@Sbozzolo Sbozzolo force-pushed the gb/append_to_hdf5 branch 2 times, most recently from 26db56c to 438d723 Compare September 6, 2023 18:32
@Sbozzolo
Copy link
Member Author

Sbozzolo commented Sep 6, 2023

I made the option a keyword and added three lines in the docstring to explain it.

From https://juliaio.github.io/HDF5.jl/stable/#Opening-and-closing-files

cw = read-write, create file if not existing, preserve existing contents
@charleskawczynski
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 8, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 45c59c5 into main Sep 8, 2023
@bors bors bot deleted the gb/append_to_hdf5 branch September 8, 2023 17:34
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