spikeinterface: SpikeInterface fails with klusta

I tried installing earlier SpikeInterface version compatible with klusta and ran it and got the error below:

Traceback (most recent call last):
  File "/mnt/c/Users/m329786/code_repositories/nwb2spikesort/master_file.py", line 165, in <module>
    sorting = ss.run_sorter(sorter_name=sorter, recording=recording, # type: ignore \
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/c/Users/m329786/Python_packages/spikeinterface-legacy/spikeinterface/sorters/runsorter.py", line 142, in run_sorter
    return run_sorter_local(**common_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/mnt/c/Users/m329786/Python_packages/spikeinterface-legacy/spikeinterface/sorters/runsorter.py", line 159, in run_sorter_local
    SorterClass.set_params_to_folder(
  File "/mnt/c/Users/m329786/Python_packages/spikeinterface-legacy/spikeinterface/sorters/basesorter.py", line 167, in set_params_to_folder
    raise AttributeError('Bad parameters: ' + str(bad_params))
AttributeError: Bad parameters: ['folder']
sys:1: DeprecationWarning: Call to deprecated function (or staticmethod) _destroy.

folder parameter was never passed to the function.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 20 (11 by maintainers)

Most upvoted comments

That worked. I think the issue can be closed. Unfortunately, the spike sorting results didn’t look great. But anyway, thank you for your help.