kwikteam / klusta

Automatic spike sorting up to 64 channels
BSD 3-Clause "New" or "Revised" License
54 stars 40 forks source link

Assertion and Type errors #58

Open migleapa opened 5 years ago

migleapa commented 5 years ago

Hello, I am using klusta's development version and for some of my datasets when I try to open up for manual cliustering using command line phy kwik-gui (filename).kwik I sometimes get either assertion or type errors. (Assertion errors are more frequent) "An error has occurred (AssertionError):" "An error has occurred (TypeError): object of type 'NoneType' has no len()" As for the assertion error I don't get a printed message saying what's wrong exactly, so it is really hard to track it down. Half of my datasets are fine. So I am very confused. Does anyone have any suggestions om how to solve it? Thanks, Migle

archangelChak commented 5 years ago

For me changing input file extension from .bin to .dat helped to solve assertion error

guptadivyansh commented 5 years ago

@archangelChak It's amazingly simple how well that worked! Thank you!