-
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]: File written with MatNWB fails to open with PyNWB #650
Comments
Hi, I have tried to read the file with both MatNWB and PyNWB (v2.8.1), and both worked. What version of PyNWB do you use? |
@dungscout96 can you comment? |
Oh this is actually this file https://testspeedeegdash.s3.us-east-2.amazonaws.com/sub-002_task-FaceRecognition_eeg.nwb -- I have just imported it in MATLAB and it was fine (it was exported using MATLAB tools). However, it fails in Python. |
Here's the error I'm seeing using pynwb version 2.8.3:
Here's the code I'm running: from pynwb import NWBHDF5IO
with NWBHDF5IO('/Users/dtyoung/Downloads/sub-002_task-FaceRecognition_eeg.nwb', 'r') as io:
nwbfile = io.read() |
Thanks for providing the file and the error trace. I can reproduce this now! @stephprince , Can you weigh in: There is one The
|
Location should be a |
What happened?
This file saved using the NwbFile object
https://nemar-dev.ucsd.edu/dataexplorer/download?filepath=/expanse/projects/nemar/openneuro/nwb_example_files/sub-005_ieeg.nwb
Can be reimported in MATLAB using the same object. However, it fails to be reimported in Python. @dungscout96, you used the two different Python libraries right? Can you explain further?
Steps to Reproduce
Error Message
Operating System
macOS
Matlab Version
2024b
Code of Conduct
The text was updated successfully, but these errors were encountered: