ecephys_spike_sorting
ecephys_spike_sorting copied to clipboard
raise InvalidGitRepositoryError
I have activated environment, change path in json but it still have error below in cmd window: anyone knows why?
python C:\Users**(myname)\Desktop\mykilo\ecephys_spike_sorting-master\ecephys_spike_sorting\scripts\batch_processing.py
ecephys spike sorting: kilosort helper module
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "C:\ProgramData\Anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\qiushou\Desktop\mykilo\ecephys_spike_sorting-master\ecephys_spike_sorting\modules\kilosort_helper_main.py", line 138, in
add git to kilosort2 fold
This error can result if you did not downloaded the Kilosort code using git (e.g., you downloaded the repository as a .zip file).
To fix it, just change this line to if False:
This will prevent this function from querying the commit date and commit hash of the Kilosort repository, but it won't affect anything else about the sorting pipeline.