File tree Expand file tree Collapse file tree
src/spikeinterface/exporters Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,15 +84,15 @@ def to_pynapple_tsgroup(
8484
8585 # get the underlying sorting
8686 if isinstance (sorting_analyzer_or_sorting , SortingAnalyzer ):
87- sorting = sorting_analyzer_or_sorting .sorting # use the sorting of SortingAnalyzer
87+ sorting = sorting_analyzer_or_sorting .sorting # use the sorting of SortingAnalyzer
8888 elif isinstance (sorting_analyzer_or_sorting , BaseSorting ):
89- sorting = sorting_analyzer_or_sorting # already a Sorting instance
90-
89+ sorting = sorting_analyzer_or_sorting # already a Sorting instance
90+
9191 # attach unit properties from sorting
9292 if attach_unit_properties :
9393 property_df = pd .DataFrame (index = unit_ids )
9494 property_keys = sorting .get_property_keys ()
95- for property_key in property_keys : # loop through sorting's properties
95+ for property_key in property_keys : # loop through sorting's properties
9696 property_data = sorting .get_property (property_key )
9797 property_df [property_key ] = property_data
9898 metadata_list .append (property_df )
You can’t perform that action at this time.
0 commit comments