cortex-lab / KiloSort

GPU code for spike sorting
GNU General Public License v2.0
176 stars 100 forks source link

Assertion error at _find_best_channels #199

Open jonjwilson89 opened 5 years ago

jonjwilson89 commented 5 years ago

Hi,

I'm just setting up kilosort to process my tetrode data and I am having some problems running template-gui - it somes up with an assertion error in line 639 of model.py at "_find_best_channels assert best_channel in channel_ids"

This is not an issue I see when loading my probe data, so I assume it might be something to do with my channel mapping. Having said that - there appear to be the correct number of channels (64) and the labelling seems to be correct. All .npy files appear to be fully created and readbale too.

Could you please advise on what I should look for to resolve this issue? Or perhaps a best practice for defining the x, y and kcoords for tetordes?

Thank you,

Jon

rossant commented 5 years ago

This issue should probably be in the phy repository. Could you perhaps send me your dataset (without the raw data) by email, so that I double check that all files are correct? (first name dot lastname @ gmail.com)