I'm totally new to phy so maybe this is more of an issue with me not being familiar with the contents of the data files it needs to run, but I'm posting this here anyway in-case anyone else has this problem. I am using Kilosort2.5 to autosort my recording, but when I try to open the template-gui from the command line, I get this massive traceback (see the log file attached). I dropped a debugger into the line where the AssertionError is raised and it looks the template matrix passed to the _find_best_channel method in the io module is full of NaN values.
This is the command I executed from the command line:
cd <file path to my data files>
phy template-gui ./params.py
When I enter the debugger and check out the values of some of the variables in the scope of this method (NOTE: this assertion error is only raised after multiple successful calls to the _get_best_channel method):
Versions
OS : Ubuntu 18.04
Phy : 2.0b1 (installed from PYPI 2020-12-12)
Kilosort : 2.5
EDIT 1
So I compared the contents of my working directory with that of the example data provided on the repo and I noticed I do not have the channel_shanks.npy file in my working directory. Could this be the cause of my problems, and what information does this file contain?
EDIT 2
It seems this is a known issue: #1051; however, I tried the workarounds suggested toward the end of this thread and still no luck. Specifically, I tried setting the value for ops.minFR to 1 / 600 and the value for ops.nblocks to 0.
I'm totally new to phy so maybe this is more of an issue with me not being familiar with the contents of the data files it needs to run, but I'm posting this here anyway in-case anyone else has this problem. I am using Kilosort2.5 to autosort my recording, but when I try to open the template-gui from the command line, I get this massive traceback (see the log file attached). I dropped a debugger into the line where the AssertionError is raised and it looks the template matrix passed to the
_find_best_channel
method in theio
module is full of NaN values.This is the command I executed from the command line:
When I enter the debugger and check out the values of some of the variables in the scope of this method (NOTE: this assertion error is only raised after multiple successful calls to the
_get_best_channel
method):Supporting files [1] working directory contents - download [2] phy log file - download
Versions OS : Ubuntu 18.04 Phy : 2.0b1 (installed from PYPI 2020-12-12) Kilosort : 2.5
EDIT 1
So I compared the contents of my working directory with that of the example data provided on the repo and I noticed I do not have the
channel_shanks.npy
file in my working directory. Could this be the cause of my problems, and what information does this file contain?EDIT 2
It seems this is a known issue: #1051; however, I tried the workarounds suggested toward the end of this thread and still no luck. Specifically, I tried setting the value for
ops.minFR
to 1 / 600 and the value forops.nblocks
to 0.