Skip to content

Commit

Permalink
Fix plot_sorting_summary after #3412 with to_numpy()
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Sep 16, 2024
1 parent 4da8298 commit 9cc8c2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeinterface/widgets/utils_sortingview.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ def generate_unit_table_view(
if prop_name in sorting_props:
property_values = sorting.get_property(prop_name)
elif prop_name in qm_props:
property_values = qm_data[prop_name].values
property_values = qm_data[prop_name].to_numpy()
elif prop_name in tm_props:
property_values = tm_data[prop_name].values
property_values = tm_data[prop_name].to_numpy()

# Check for NaN values and round floats
val0 = np.array(property_values[0])
Expand Down

0 comments on commit 9cc8c2d

Please sign in to comment.