Skip to content

Commit

Permalink
another instance of parent_sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed May 29, 2024
1 parent 8f06759 commit c64e39c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/spikeinterface/curation/curationsorting.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from collections import namedtuple
from collections.abc import Iterable
from warnings import warn

import numpy as np

Expand Down Expand Up @@ -123,7 +122,7 @@ def merge(self, units_to_merge, new_unit_id=None, delta_time_ms=0.4):
elif new_unit_id not in units_to_merge:
assert new_unit_id not in current_sorting.unit_ids, f"new_unit_id already exists!"
new_sorting = MergeUnitsSorting(
parent_sorting=current_sorting,
sorting=current_sorting,
units_to_merge=units_to_merge,
new_unit_ids=[new_unit_id],
delta_time_ms=delta_time_ms,
Expand Down

0 comments on commit c64e39c

Please sign in to comment.