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

over write issue #2

Closed
jdily opened this issue Sep 20, 2015 · 2 comments
Closed

over write issue #2

jdily opened this issue Sep 20, 2015 · 2 comments

Comments

@jdily
Copy link

jdily commented Sep 20, 2015

Hi, thx for the great library!
I have found out that if there is an existing file with the same name, it will not overwrite the file.
I am wondering if there are method to deal with this?
Or there is some flags that I should select properly..?

thx!

@garrison
Copy link
Owner

Do you open the file as the README says, with H5::H5File file("filename1.h5", H5F_ACC_TRUNC);? The flag H5F_ACC_TRUNC should truncate any existing file with the same name.

@garrison
Copy link
Owner

I am closing this, but please let me know if you have any further issues.

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

No branches or pull requests

2 participants