-
Notifications
You must be signed in to change notification settings - Fork 84
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]: Unable to Construct SpikeEventSeries #1746
Comments
Note that if the Spike event data is transposed on write, NWB Inspector will not throw an error but will emits this critical message:
|
@ lawrence-mbf could you clarify how this file is being created? From the error it looks like the error is due to PyNWB not being able to open the file due to the error check in Lines 122 to 125 in f0b3317
|
This was constructed by a MatNWB script. However, it doesn't appear to satisfy the nwbinspector whichever way the data is transposed, despite the nwbinspector instructions. I looked through the generated data manually but there doesn't seem to be anything that jumps out as wrong. |
I downloaded the file myself to check it out; I can clarify the electrodes seems to be the second dimension of those fields in the Just to clarify, it's
hope that extra info helps solve the problem |
Thanks @CodyCBakerPhD. In terms of read, I suspect that the bad data type for |
Is the solution then to attempt to fix these other problems and assume the data is correct? We're primarily focused on the Below is a link to the NWB file with non-transposed datasets: This file emits the warnings as mentioned in #1746 (comment) |
The .new.nwb (non-transposed) has the following invalidations
The validator doesn't seem to check for transposition, but once the file is valid we can try simply reading it with PyNWB, and it is that step that triggers the constructor error or warning |
What happened?
Currently converting data to fit DANDI requirement through MatNWB: NeurodataWithoutBorders/matnwb#527
The data reads fine in MatNWB but actually causes the NWB Inspector to throw and error.
The file itself is 1.3 GB so its download link is provided here: https://mbfbioscience-my.sharepoint.com/:u:/p/lawrence/EX0x5jQ9EelAmOXc_hm0eWQBf5GSkY6spXjBhdIUlHAeCg?e=f2g4cq
Steps to Reproduce
Traceback
Operating System
Windows
Python Executable
Conda
Python Version
3.10
Package Versions
issue_environment.txt
Code of Conduct
The text was updated successfully, but these errors were encountered: