Skip to content

Commit

Permalink
Set spikeinterface n_jobs = -1 for parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Feb 1, 2025
1 parent 83c7c24 commit 00de462
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pyflask/manageNeuroconv/manage_neuroconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1674,6 +1674,8 @@ def generate_test_data(output_path: str):
import spikeinterface.exporters
import spikeinterface.preprocessing

spikeinterface.set_global_job_kwargs(n_jobs=-1)

base_path = Path(output_path)
spikeglx_output_folder = base_path / "spikeglx"
phy_output_folder = base_path / "phy"
Expand Down

0 comments on commit 00de462

Please sign in to comment.