Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/spyglass/spikesorting/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def get_group_by_shank(

if references: # Use 'references' if passed
sort_ref_id = references.get(e_group, None)
if not sort_ref_id:
if sort_ref_id is None:
raise Exception(
f"electrode group {e_group} not a key in "
+ "references, so cannot set reference"
Expand Down