spikeinterface icon indicating copy to clipboard operation
spikeinterface copied to clipboard

SpykingCircus2 Spike Sorting/Multiprocessing

Open jklembcz opened this issue 9 months ago • 5 comments

Hi all,

I am currently attempting to run SpykingCircus2 on some .pl2 data, but I keep running into a RuntimeError:

RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase.

    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.

I know this order is related to multiprocessing, but I have tried multiple methods (run_sorter_jobs, set global job kwargs) to run without necessarily using multiprocessing. Is this just an open issue or is there a way to address this? Also, let me know if I should provide code or the full error trace.

Thanks!

jklembcz avatar May 13 '24 18:05 jklembcz