Skip to content

Commit

Permalink
fix: is False to ~
Browse files Browse the repository at this point in the history
caused by previous linting
  • Loading branch information
ryanharvey1 committed Sep 13, 2024
1 parent 43b4d11 commit 8e934dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neuro_py/io/loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ def load_spikes(

if remove_bad_unit:
# bad units will be tagged true, so only keep false values
restrict_idx = cell_metrics.bad_unit.values is False
restrict_idx = ~cell_metrics.bad_unit.values
cell_metrics = cell_metrics[restrict_idx]
st = st[restrict_idx]

Expand Down

0 comments on commit 8e934dd

Please sign in to comment.