diff --git a/src/spyglass/spikesorting/v1/curation.py b/src/spyglass/spikesorting/v1/curation.py index 32f6c88ca..5e862dd90 100644 --- a/src/spyglass/spikesorting/v1/curation.py +++ b/src/spyglass/spikesorting/v1/curation.py @@ -213,7 +213,7 @@ def get_sorting(cls, key: dict) -> si.BaseSorting: } ] - sorting = si.NumpySorting.from_dict( + sorting = si.NumpySorting.from_unit_dict( units_dict_list, sampling_frequency=sampling_frequency )