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

Error in reading nwb files in matnwb #121

Closed
cmikkelsen opened this issue Nov 20, 2023 · 5 comments
Closed

Error in reading nwb files in matnwb #121

cmikkelsen opened this issue Nov 20, 2023 · 5 comments

Comments

@cmikkelsen
Copy link

When we are trying to use nwbRead to open the data from this experiment: https://dandiarchive.org/dandiset/000114?search=oxytocin%20neurons%20social%20transmission&pos=1 we are getting an error using matnwb, " Unable to resolve the name 'types.hdmf_experimental.DynamicTableRegion'. " when trying to load the data . It seems to be occuring for a number of files, but we are able to open data from other dandisets successfully. Thank you for any guidance on how to resolve this issue!

@yarikoptic yarikoptic transferred this issue from dandi/dandi-archive Nov 22, 2023
@yarikoptic
Copy link
Member

attn @lawrence-mbf @bendichter @rly

@lawrence-mbf
Copy link

lawrence-mbf commented Nov 22, 2023 via email

@rly
Copy link

rly commented Nov 23, 2023

Copying my response from Slack here so that it can be searchable:

Sorry you are having trouble with this dandiset. I see the issue. There are multiple places in the files where the namespace for DynamicTableRegion and VectorData objects is hdmf-experimental instead of hdmf-common.

Do you know how to run a Python script? I wrote a quick Python script to modify the NWB files to fix the above issue here https://gist.github.com/rly/7b3365d157ebb7d0a565bbd48eb12fdd . Download that file and run python fix_dandiset_000114.py [path to directory containing your dandiset NWB files] and let me know if that fixes it.

The python script modifies any NWB files from dandiset 000114 that you have downloaded into a directory. After that, you should be able to open the file in matnwb and continue to use matnwb for your analysis if you wish.

@bendichter added me to the 000114 dandiset so that I can update the NWB files, but my dandihub died (Satra was helping troubleshoot), so that will have to wait.

@lawrence-mbf

This comment was marked as spam.

@rly
Copy link

rly commented Mar 31, 2024

It looks like the issue has been fixed in the latest draft version of the dandiset: https://dandiarchive.org/dandiset/000114/draft so I think this issue can be closed.

@satra satra closed this as completed Mar 31, 2024
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

5 participants