python-neo icon indicating copy to clipboard operation
python-neo copied to clipboard

support for just .spikes in folder

Open ferchaure opened this issue 2 years ago • 2 comments

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

ferchaure avatar Aug 11 '22 23:08 ferchaure

Hello @ferchaure! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 495:31: W605 invalid escape sequence '\d'

Comment last updated at 2022-08-30 13:42:37 UTC

pep8speaks avatar Aug 11 '22 23:08 pep8speaks

Maybe the error is related to a unreported renaming in my data, I will check it that and fix it

ferchaure avatar Aug 29 '22 13:08 ferchaure

Hi fernando. Thank you. this is Ok for me. Can you fix the warning line 495 ?

samuelgarcia avatar Apr 03 '23 09:04 samuelgarcia

Done

ferchaure avatar Apr 03 '23 10:04 ferchaure

Closing in favor of #1377

alejoe91 avatar Jan 26 '24 10:01 alejoe91