Open rcpeene opened 1 month ago
Hi @rcpeene, I believe this would be an hdmf issue, but I wasn't able to reproduce the error with a small test example so I’m not positive what’s causing the error.
@mavaylon1 would you be able to take a look since you have been working on export?
@stephprince happy to help @rcpeene I will try the test code you gave to see if I can reproduce the error.
@rcpeene Are you exporting across backends or within the same? It looks like you are using the same io_class throughout
The same backends; I am opening in h5py and exporting to h5py in the run that is failing. When I change io_class
to zarr_hdmf
, then the run passes and the NWB exports.
Any more updates here? Currently holding back our pipeline
@rcpeene, could you share the file that is causing this error? We cannot seem to reproduce the error on our end.
Secondly, are the xs
, ys
, and zs
arrays 1-D float numpy arrays?
Can you also tell us what version of pynwb and hdmf you are running? Thank you
If you could get permission to download and share that would be great! Email is an option or a google drive link would work as well.
@stephprince, @rly. I have shared with you the folder containing the nwb and a CCF file, and a link to the capsule repo :)
@rcpeene thanks for sharing the file! I was able to reproduce your error. This issue was caused by a bug in HDMF during export of a specific case of a string dataset.
I am planning to get the related fix into the next hdmf release, which should occur sometime next week.
Great! Thanks for looking into it
What happened?
I am appending columns to the NWB electrodes table and then exporting it as a new file, described in more detail here https://github.com/hdmf-dev/hdmf-zarr/issues/179
I receive the error below when trying to export the NWB. Is this an hdmf problem? The same code works when using hdmf-zarr to export.
Steps to Reproduce
Traceback
Operating System
Windows
Python Executable
Conda
Python Version
3.9
Package Versions
pynwb==2.8.2
Code of Conduct