Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/datajoint/autopopulate.py", line 322, in _populate1
make(dict(key), **(make_kwargs or {}))
File "/opt/conda/lib/python3.10/site-packages/element_array_ephys/spike_sorting/si_spike_sorting.py", line 268, in make
_run_sorter()
File "/opt/conda/lib/python3.10/site-packages/element_interface/utils.py", line 235, in wrapped
results = func(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/element_array_ephys/spike_sorting/si_spike_sorting.py", line 254, in _run_sorter
si_sorting: si.sorters.BaseSorter = si.sorters.run_sorter(
File "/opt/conda/lib/python3.10/site-packages/spikeinterface/sorters/runsorter.py", line 193, in run_sorter
return run_sorter_container(
File "/opt/conda/lib/python3.10/site-packages/spikeinterface/sorters/runsorter.py", line 648, in run_sorter_container
raise SpikeSortingError(f"Spike sorting in {mode} failed with the following error:\n{run_sorter_output}")
spikeinterface.sorters.utils.misc.SpikeSortingError: Spike sorting in docker failed with the following error:
/mnt/efs/works/org/utah/proj/organoids/outbox/MB5-8_raw/202409071449_202409071454/MB05/kilosort2-5_250/kilosort2_5/in_container_sorter_script.py:23: DeprecationWarning: `output_folder` is deprecated and will be removed in version 0.103.0 Please use folder instead
sorting = run_sorter_local(
write_binary_recording: 100%|##########| 300/300 [00:21<00:00, 13.90it/s]
RUNNING SHELL SCRIPT: /mnt/efs/works/org/utah/proj/organoids/outbox/MB5-8_raw/202409071449_202409071454/MB05/kilosort2-5_250/kilosort2_5/spike_sorting/sorter_output/run_kilosort2_5.sh
Warning: X does not support locale C.UTF-8
Time 1s. Computing whitening matrix..
Getting channel whitening matrix...
Channel-whitening matrix computed.
Time 4s. Loading raw data and applying filters...
Time 13s. Finished preprocessing 12 batches.
Drift correction DISABLED
Time 15s. Optimizing templates ...
15.53 sec, 1 / 12 batches, 5 units, nspks: 2.6931, mu: 18.0911, nst0: 3, merges: 0.1000, 0.0000, 0.2000
Elapsed time is 22.274838 seconds.
----------------------------------------Index in position 1 is invalid. Array indices must be positive integers or logical values.
Error running kilosort2_5
Traceback (most recent call last):
File "/mnt/efs/works/org/utah/proj/organoids/outbox/MB5-8_raw/202409071449_202409071454/MB05/kilosort2-5_250/kilosort2_5/in_container_sorter_script.py", line 23, in <module>
sorting = run_sorter_local(
File "/root/.local/lib/python3.9/site-packages/spikeinterface/sorters/runsorter.py", line 261, in run_sorter_local
SorterClass.run_from_folder(folder, raise_error, verbose)
File "/root/.local/lib/python3.9/site-packages/spikeinterface/sorters/basesorter.py", line 302, in run_from_folder
raise SpikeSortingError(
spikeinterface.sorters.utils.misc.SpikeSortingError: Spike sorting error trace:
Traceback (most recent call last):
File "/root/.local/lib/python3.9/site-packages/spikeinterface/sorters/basesorter.py", line 262, in run_from_folder
SorterClass._run_from_folder(sorter_output_folder, sorter_params, verbose)
File "/root/.local/lib/python3.9/site-packages/spikeinterface/sorters/external/kilosortbase.py", line 217, in _run_from_folder
raise Exception(f"{cls.sorter_name} returned a non-zero exit code")
Exception: kilosort2_5 returned a non-zero exit code
Spike sorting failed. You can inspect the runtime trace in /mnt/efs/works/org/utah/proj/organoids/outbox/MB5-8_raw/202409071449_202409071454/MB05/kilosort2-5_250/kilosort2_5/spike_sorting/spikeinterface_log.json.
error stack:
Solution: update
do_correctionfromTruetoFalse