-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug in plot templates #2850
Conversation
Fixes a bug where specifying the `channel_ids` with a non-sparse analyzer would fail.
I propose we remove the |
Fixed it. Basically, when you pass |
@samuelgarcia added the sparse slicing. Ready to review |
else: | ||
wfs = wf_ext.get_waveforms_one_unit(unit_id) | ||
wfs = wfs[:, :, sparsity.mask[unit_index]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this if not extra_sparsity ? does the sparsity represent the extra sparsity ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra sparsity is a bool, in that case the sparsity
is the user provided sparsity (or from channel ids)
Fixes a bug where specifying the
channel_ids
with a non-sparse analyzer would fail.