kwargs in select units
@@ -40,6 +40,9 @@ class UnitsSelectionSorting(BaseSorting):
parent_sorting.copy_metadata(self, only_main=False, ids=self._unit_ids)
+ self._kwargs = dict(recording=parent_sorting.to_dict(), unit_ids=unit_ids,
+ renamed_unit_ids=renamed_unit_ids)
+
class UnitsSelectionSortingSegment(BaseSortingSegment):
def __init__(self, parent_segment, ids_conversion):
