Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed May 21, 2024
1 parent 108a50c commit ea5e44a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spikeinterface/core/sortinganalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ def create(
if sorting.sampling_frequency != recording.sampling_frequency:
if math.isclose(sorting.sampling_frequency, recording.sampling_frequency, abs_tol=1e-2, rel_tol=1e-5):
warnings.warn(
"Sorting and Recording have a small difference in sampling frequency. This could be due to rounding of floats. Using the sampling frequency from the Recording."
"Sorting and Recording have a small difference in sampling frequency. "
"This could be due to rounding of floats. Using the sampling frequency from the Recording."
)
# we make a copy here to change the smapling frequency
sorting = NumpySorting.from_sorting(sorting, with_metadata=True, copy_spike_vector=True)
Expand Down

0 comments on commit ea5e44a

Please sign in to comment.