Skip to content

Commit

Permalink
Update src/spyglass/spikesorting/v1/metric_curation.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Brozdowski <[email protected]>
  • Loading branch information
khl02007 and CBroz1 authored Dec 1, 2023
1 parent fb31546 commit df2bfc8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/spyglass/spikesorting/v1/metric_curation.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,7 @@ def get_labels(cls, key: dict):
) as io:
nwbf = io.read()
units = nwbf.objects[object_id].to_dataframe()
labels = dict(zip(units.index, units["curation_label"]))

return labels
return dict(zip(units.index, units["curation_label"]))

@classmethod
def get_merge_groups(cls, key: dict):
Expand Down

0 comments on commit df2bfc8

Please sign in to comment.