-
Notifications
You must be signed in to change notification settings - Fork 6
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
[Bug]: NWB Zarr to HDMF export fails #211
Comments
Thanks for including the code and traceback. The issue appears to be due to some conversion between data types when exporting from Zarr to HDF5:
This error originates from here in the HDMF library when writing to disk:
Since you can't share the original data file, we'll probably need your help to get to the root of this. Option 1 would be, if you could share a "dummy" file that has the same issue, then we could investigate, i.e., we don't really need the real data to debug, but some some file that looks similar and raises the error should be fine. Option 2 is to do a bit more retracing of steps on your end so we can at least figure out what case causes it so that we can reproduce the issue on our end. A first step here would be to output all the properties of the dataset and data when the exception occurs, e.g., by adding a print statement here before the exception is being raised in line 1492, something along the lines of |
@oruebel I've received permission to share the file directly with you for examination as long as it isn't distributed. Would a onedrive link work? |
Sure, a onedrive link should be fine. Feel free to send via Slack or email [email protected] so we can take a look. We'll treat the data confidentially and not share with others. |
invite email sent |
Any updates here? It's one of the last things holding up our data pipeline. |
As far as I can tell, the issue seems to occur when copying
I'll need to do a bit more digging to confirm. My guess is that the fix will likely need to be in HDMF. A possible workaround may be to wrap |
What is confusing to me is that when printing from |
It appears the issue is that I submitted a PR on HDMF here hdmf-dev/hdmf#1171 for this. With this change I was able to convert the file to HDF5. |
What happened?
Trying to export a zarr nwb as hdmf, but it yields an error
Steps to Reproduce
I can't share the nwb file for licensing reasons
Operating System
Linux
Python Executable
Python
Python Version
3.9
Package Versions
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: