Skip to content

Commit 5d99741

Browse files
authored
Apply suggestions from code review
1 parent 6b8e77e commit 5d99741

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/spikeinterface/widgets/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def make_units_table_from_sorting(sorting, units_table=None):
286286
units_table.loc[:, col] = values
287287
else:
288288
warn(
289-
f"Property {col} not added to the units table because it has ndim > 1 or dtype not in 'iuUSfb'",
289+
f"Property {col} not added to the units table because it has ndim > 1 or dtype not supported",
290290
)
291291

292292
return units_table
@@ -349,7 +349,7 @@ def make_units_table_from_analyzer(
349349
units_table.loc[:, col] = values
350350
else:
351351
warn(
352-
f"Extra property {col} not added to the units table because it has ndim > 1 or dtype not in 'iuUSfb'",
352+
f"Extra property {col} not added to the units table because it has ndim > 1 or dtype not supported",
353353
)
354354

355355
return units_table

0 commit comments

Comments
 (0)