cortex-lab / PinkRigs

Shared code for processing data on the pink rigs
3 stars 1 forks source link

kilosort list out of range #40

Closed takacsflora closed 1 year ago

takacsflora commented 1 year ago

AV025 - Nov 21 recordings all pyks errored with {"err_type:": "<class 'IndexError'>", "err_message": "list index out of range", "traceback": "<traceback object at 0x000001310C45BEC0>"}

I have seen this error sporadically since Nov 15. When I resort, things seem fine.

takacsflora commented 1 year ago

possibly because the .meta file gets to be copied later than the cbin files and the lag can take up to 3 hrs even. @pipcoen

takacsflora commented 1 year ago

This seems to have been solved now that we are checking for the existence of .meta before adding a .cbin to the queue and that the meta gets copied immediately after each .cbin.