Skip to content

Commit 43b085f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 74ef4eb commit 43b085f

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

src/spikeinterface/postprocessing/localization_tools.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
import numpy as np
66
from spikeinterface.core import SortingAnalyzer, Templates, compute_sparsity
7-
from spikeinterface.core.template_tools import (_get_nbefore,
8-
get_dense_templates_array,
9-
get_template_extremum_channel)
7+
from spikeinterface.core.template_tools import _get_nbefore, get_dense_templates_array, get_template_extremum_channel
108

119
try:
1210
import numba
@@ -16,8 +14,6 @@
1614
HAVE_NUMBA = False
1715

1816

19-
20-
2117
def compute_monopolar_triangulation(
2218
sorting_analyzer_or_templates: SortingAnalyzer | Templates,
2319
unit_ids=None,

src/spikeinterface/sortingcomponents/motion/dredge.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,14 @@
2828
import numpy as np
2929
from tqdm.auto import trange
3030

31-
from .motion_utils import (Motion, get_spatial_bin_edges, get_spatial_windows,
32-
get_window_domains, make_2d_motion_histogram,
33-
scipy_conv1d)
31+
from .motion_utils import (
32+
Motion,
33+
get_spatial_bin_edges,
34+
get_spatial_windows,
35+
get_window_domains,
36+
make_2d_motion_histogram,
37+
scipy_conv1d,
38+
)
3439

3540

3641
# simple class wrapper to be compliant with estimate_motion

0 commit comments

Comments
 (0)