Skip to content

Commit

Permalink
bug fix: convert props to lists
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahpearl committed Aug 15, 2024
1 parent 1335ecf commit 3dc9da2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spikeinterface/widgets/utils_sortingview.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ def generate_unit_table_view(analyzer, unit_properties=None, similarity_scores=N
sorting = analyzer.sorting

# Find available unit properties from all sources
sorting_props = sorting.get_property_keys()
sorting_props = list(sorting.get_property_keys())
if analyzer.get_extension("quality_metrics") is not None:
qm_props = analyzer.get_extension("quality_metrics").get_data().columns
qm_props = list(analyzer.get_extension("quality_metrics").get_data().columns)
qm_data = analyzer.get_extension("quality_metrics").get_data()
else:
qm_props = []
if analyzer.get_extension("template_metrics") is not None:
tm_props = analyzer.get_extension("template_metrics").get_data().columns
tm_props = list(analyzer.get_extension("template_metrics").get_data().columns)
tm_data = analyzer.get_extension("template_metrics").get_data()
else:
tm_props = []
Expand Down

0 comments on commit 3dc9da2

Please sign in to comment.