Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 6, 2024
1 parent 246218b commit a5001f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/spikeinterface/curation/auto_merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ def get_potential_auto_merge(
templates = templates_ext.get_templates()
else:
templates = templates_ext.get_templates(operator="average")
assert templates_ext is not None, "auto_merge with template_similarity requires a SortingAnalyzer with extension templates or fast_templates"
assert (
templates_ext is not None
), "auto_merge with template_similarity requires a SortingAnalyzer with extension templates or fast_templates"

templates_diff = compute_templates_diff(
sorting, templates, num_channels=num_channels, num_shift=num_shift, pair_mask=pair_mask
Expand Down

0 comments on commit a5001f2

Please sign in to comment.