-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Description
Describe the bug
I was trying to import neuralynx data into python using neo. But, I got an OSError.
This is a screenshot of the error.

Also, I noticed that there is a small bug in the line that raise the OSError. I think .format(an, av) is supposed to fill the first {} with an and the second {} with av. However, only the second string after the + calls .format(an, av) in the source code, which is why the error message is weird.

To Reproduce
In order to reproduce, just use the two lines of code in the screenshot. The error occurs when reading a file that I can't share publicly. Please get in touch with me and I will share the file privately.
Environment:
- OS: Linux
- Python version: 3.8.13
- Neo version: 0.11.1