Closed magland closed 4 months ago
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:
Just to clarify, if I understand this correctly, lindi.LindiH5pyFile
is here backed by a Zarr store, i.e., it is representing a Zarr file as if it where h5py
and as such, pynwb.NWBHDF5IO
is here actually writing to Zarr. I.e., in some sense this would be in a form a replacement forZarrIO
in hdmf_zarr
.
Just to clarify, if I understand this correctly,
lindi.LindiH5pyFile
is here backed by a Zarr store, i.e., it is representing a Zarr file as if it whereh5py
and as such,pynwb.NWBHDF5IO
is here actually writing to Zarr. I.e., in some sense this would be in a form a replacement forZarrIO
inhdmf_zarr
.
@oruebel Yes that's right.
The suggested changes around np.float128
/np.complex256
and the change of mode="a"
to mode="r+"
were necessary to make examples/example_create_zarr_nwb.py
run on my machine.
I did not do heavy testing of this PR, but I read through it all, and as far as I can tell, it makes sense and looks good. Nicely done!
HDMF supports a lot of weird edge cases. I'll see if I can think up more tests to what you already have here.
I did not do heavy testing of this PR, but I read through it all, and as far as I can tell, it makes sense and looks good. Nicely done!
HDMF supports a lot of weird edge cases. I'll see if I can think up more tests to what you already have here.
Thanks Ryan!
This PR adds support for writing to Zarr stores using the h5py-like interface.
See https://github.com/NeurodataWithoutBorders/lindi/blob/write/tests/test_zarr_write.py
and
https://github.com/NeurodataWithoutBorders/lindi/blob/write/examples/example_create_zarr_nwb.py