Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yger committed Nov 13, 2024
1 parent 3a78e7a commit 035d8d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def main_function(cls, recording, peaks, params, job_kwargs=dict()):
peak_labels = cls._find_clusters(recording, peaks, wfs_arrays, sparsity_mask, noise, params)

wfs_arrays2, sparsity_mask2 = cls._prepare_clean(
recording, peaks, wfs_arrays, sparsity_mask, peak_labels, params
recording, peaks, wfs_arrays, sparsity_mask, peak_labels, params, job_kwargs
)

clean_peak_labels, peak_sample_shifts = cls._clean_cluster(
Expand Down Expand Up @@ -400,7 +400,7 @@ def _find_clusters(cls, recording, peaks, wfs_arrays, sparsity_mask, noise, d):
return peak_labels

@classmethod
def _prepare_clean(cls, recording, peaks, wfs_arrays, sparsity_mask, peak_labels, d):
def _prepare_clean(cls, recording, peaks, wfs_arrays, sparsity_mask, peak_labels, d, job_kwargs):
tmp_folder = d["tmp_folder"]
if tmp_folder is None:
wf_folder = None
Expand Down

0 comments on commit 035d8d2

Please sign in to comment.