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 Sep 10, 2024
1 parent 16b207c commit 96addeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/core/baserecordingsnippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def get_channel_locations(self, channel_ids=None, axes: str = "xy"):

sorted_probe_idx = np.argsort(probes_channel_indices)
sorted_positions_idx = np.searchsorted(probes_channel_indices[sorted_probe_idx], channel_indices)

positions = all_positions[sorted_probe_idx[sorted_positions_idx]]
return select_axes(positions, axes)
else:
Expand Down

0 comments on commit 96addeb

Please sign in to comment.