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

memmaps while modifying metadata only #27

Closed
martinschorb opened this issue Jul 2, 2020 · 2 comments
Closed

memmaps while modifying metadata only #27

martinschorb opened this issue Jul 2, 2020 · 2 comments

Comments

@martinschorb
Copy link
Contributor

Hi,

I have the feeling that for some reason somewhere in make_bdv it reads the memmaps into numpy arrays even when not overwriting the data. I tried to dig inn it but could not spot where exactly it happens.

I can only clearly see that the h5 files are modified when I run it, even though I only select metadata as overwrite parameter.

@constantinpape
Copy link
Owner

It shouldn't touch the data when you set it to metadata, but maybe something is going wrong.
Do you have a minimal example to check this?

@martinschorb
Copy link
Contributor Author

blame on me...

I think it happens somewhere before. Still investigating. It is a bit tricky since some numpy functionality works on memmaps while others just load the data (without warning obviously).

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