Skip to content

Incorrect 'parent_recording' arg for multiprocessing when skipping kilosort 2.5 preprocessing #3617

Open
@OlivierPeron

Description

@OlivierPeron

Hi everyone !

I was trying to launch kilosort 2.5 with skip_kilosort_preprocessing = True, which will use the TracePaddedRecording class, which have an parent_recording key in the __init__ part.
I got the following error :

File "<string>", line 1, in <module>
  File "C:\Users\DeepLabCut\Anaconda3\envs\spykeline\lib\multiprocessing\spawn.py", line 116, in spawn_main
    exitcode = _main(fd, parent_sentinel)
  File "C:\Users\DeepLabCut\Anaconda3\envs\spykeline\lib\multiprocessing\spawn.py", line 126, in _main
    self = reduction.pickle.load(from_parent)
  File "C:\Users\DeepLabCut\Anaconda3\envs\spykeline\lib\site-packages\spikeinterface\core\base.py", line 529, in from_dict
    extractor = _load_extractor_from_dict(dictionary)
  File "C:\Users\DeepLabCut\Anaconda3\envs\spykeline\lib\site-packages\spikeinterface\core\base.py", line 1135, in _load_extractor_from_dict
    extractor = extractor_class(**new_kwargs)
TypeError: __init__() got an unexpected keyword argument 'parent_recording'

Is it something wrong on my side or should we change the parent_recording key?

Thanks !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions