python-neo
python-neo copied to clipboard
support for just .spikes in folder
Hi I was trying to load an openephys .spikes file but it required the .continuous file as well. To fix that, I separated a bit better the data loading, all the code was there. And I fixed a typo when the filename is read to check the number of segments.
This will work for my case, but probably a similar fix could be made to load only events files.
Cheers, Fer
Hello @ferchaure! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
- In the file
neo/rawio/openephysrawio.py
:
Line 495:31: W605 invalid escape sequence '\d'
Comment last updated at 2022-08-30 13:42:37 UTC
Maybe the error is related to a unreported renaming in my data, I will check it that and fix it
Hi fernando. Thank you. this is Ok for me. Can you fix the warning line 495 ?
Done
Closing in favor of #1377