The Kilosort4 API's entry point for the algorithm is a function called "run_kilosort()" located in kilosort/run_kilosort.py.
The SpikeInterface wrapper for Kilosort4--located at src/spikeinterface/sorters/external/kilosort4.py--does not call "run_kilosort()" directly. Instead, it reproduces the individual function calls contained within run_kilosort().
One of the functions calls in the original run_kilosort() is setup_logger(), which is responsible for the generation of "kilosort4.log" in the ks4 output folder (the one that contains all the .npy files). This function call is missing from the SpikeInterface wrapper.
Including this function call would make debugging various issues more convenient. Would it be possible to do so?
@h-mayorquin @alejoe91 @zm711 @cheydrick