Skip to content

Commit

Permalink
Merge branch 'merging_units' of github.com:yger/spikeinterface into m…
Browse files Browse the repository at this point in the history
…erging_units
  • Loading branch information
yger committed Jun 26, 2024
2 parents 3d73d80 + 283fd7f commit 531897e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/spikeinterface/core/sortinganalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,11 +759,9 @@ def _save_or_select_or_merge(
new_sorting_analyzer.extensions[extension_name] = extension.copy(
new_sorting_analyzer, unit_ids=unit_ids
)

if units_to_merge is not None and merging_mode == 'hard':
new_sorting_analyzer.compute(
recompute_dict, save=True, verbose=verbose, **job_kwargs
)

if units_to_merge is not None and merging_mode == "hard":
new_sorting_analyzer.compute(recompute_dict, save=True, verbose=verbose, **job_kwargs)

return new_sorting_analyzer

Expand Down

0 comments on commit 531897e

Please sign in to comment.