diff --git a/src/spikeinterface/sorters/internal/spyking_circus2.py b/src/spikeinterface/sorters/internal/spyking_circus2.py index af963063cb..99f9c302f7 100644 --- a/src/spikeinterface/sorters/internal/spyking_circus2.py +++ b/src/spikeinterface/sorters/internal/spyking_circus2.py @@ -204,6 +204,7 @@ def _run_from_folder(cls, sorter_output_folder, params, verbose): detection_params["prototype"] = prototype detection_params["ms_before"] = ms_before if params["debug"]: + np.save(clustering_folder / "waveforms.npy", waveforms) np.save(clustering_folder / "prototype.npy", prototype) if skip_peaks: detection_params["skip_after_n_peaks"] = n_peaks