-
Notifications
You must be signed in to change notification settings - Fork 32
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]: Error when validating (dandi validate) file created with matnwb #562
Comments
Hi @dustinf1989 , Is it possible for you to provide the source file so we can take a look? If not, we would want a minimal example that recreates this issue with the inspector. |
Hi @lawrence-mbf thank you for the quick response. Sure, I can share the file. You should be able to download it here: https://drive.google.com/file/d/1qkzeef1o8dnvgSvsIQZvwRrijuSEBd5w/view?usp=sharing |
Hi @dustinf1989 , It looks like the error has something to do with @rly @bendichter any thoughts about this? |
Thanks for checking this out. I edited the size of the 'electrode_group' variable so it is the same size as the 'spike_times' variable but I still get the same error. Could it be related to the dimensions of waveforms'? The dimensions are [143756×64 single] The new file is uploaded here: https://drive.google.com/file/d/1n60v9kG25oxMP3Waz1AeTmk3o9UUwhiM/view?usp=drive_link |
I was browsing around, could it be related to this issue in PyNWB? |
I can use this Python code to load the file and create a few basic plots, so the file seems to work, but I still get the same error when trying to validate. Any ideas on how to get around this error? |
Open question: is this due to an issue in matnwb or in pynwb / nwb validator? @stephprince, would you know? |
Looking at the file and where it fails during validation, it looks like the error is coming specifically from
So to answer your question @ehennestad , there is a separate bug in HDMF in displaying the error message, but I believe the file also fails validation because the |
Thanks for looking into this @stephprince ! Todo: |
What happened?
I created .nwb files using MATLAB but get this error when I try to validate:
D:\emotional_memory_neuronal_analyses\emotional_memory_neuronal_dandi\000887>dandi validate
[pywnb.GENERIC] D:\emotional_memory_neuronal_analyses\emotional_memory_neuronal_dandi\000887\sub-001\sub-001_ses-ENC_behavior+ecephys.nwb — DtypeError.init: incorrect type for 'expected' (got 'RefSpec', expected 'dtype, type, str or list')
What is field the incorrect type?
I ran nwbinspector on the same file and copied the error message to this txt file:
error_message.txt
Can you help me figure this out please?
Thanks!
Steps to Reproduce
Error Message
No response
Operating System
Windows
Matlab Version
R2022b
Code of Conduct
The text was updated successfully, but these errors were encountered: