Skip to content

Commit 62b65e1

Browse files
Apply suggestions from code review
Co-authored-by: Garcia Samuel <sam.garcia.die@gmail.com>
1 parent 5d99741 commit 62b65e1

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/spikeinterface/widgets/sorting_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def __init__(
109109
if displayed_unit_properties is None:
110110
displayed_unit_properties = list(_default_displayed_unit_properties)
111111
if extra_unit_properties is not None:
112-
displayed_unit_properties += list(extra_unit_properties.keys())
112+
displayed_unit_properties = displayed_unit_properties + list(extra_unit_properties.keys())
113113

114114
data_plot = dict(
115115
sorting_analyzer=sorting_analyzer,

src/spikeinterface/widgets/utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,6 @@ def make_units_table_from_sorting(sorting, units_table=None):
284284
values = sorting.get_property(col)
285285
if values.dtype.kind in "iuUSfb" and values.ndim == 1:
286286
units_table.loc[:, col] = values
287-
else:
288-
warn(
289-
f"Property {col} not added to the units table because it has ndim > 1 or dtype not supported",
290-
)
291287

292288
return units_table
293289

0 commit comments

Comments
 (0)