Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 29, 2024
1 parent 57a9cc9 commit 02cad49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeinterface/sorters/internal/spyking_circus2.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ def _run_from_folder(cls, sorter_output_folder, params, verbose):
if num_channels == 1:
whitening_kwargs["regularize"] = False
if whitening_kwargs["regularize"]:
n_jobs = job_kwargs['n_jobs']
whitening_kwargs["regularize_kwargs"] = {"method": "GraphicalLassoCV", "n_jobs" : n_jobs}
n_jobs = job_kwargs["n_jobs"]
whitening_kwargs["regularize_kwargs"] = {"method": "GraphicalLassoCV", "n_jobs": n_jobs}

recording_w = whiten(recording_f, **whitening_kwargs)
noise_levels = get_noise_levels(recording_w, return_scaled=False, **job_kwargs)
Expand Down

0 comments on commit 02cad49

Please sign in to comment.