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 Oct 17, 2023
1 parent 1167722 commit 44ad0ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/spikeinterface/exporters/to_phy.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def export_to_phy(
), "waveform_extractor must be a WaveformExtractor object"
sorting = waveform_extractor.sorting

assert waveform_extractor.get_num_segments() == 1, f"Export to phy only works with one segment, your extractor has {waveform_extractor.get_num_segments()} segments"
assert (
waveform_extractor.get_num_segments() == 1
), f"Export to phy only works with one segment, your extractor has {waveform_extractor.get_num_segments()} segments"
num_chans = waveform_extractor.get_num_channels()
fs = waveform_extractor.sampling_frequency

Expand Down

0 comments on commit 44ad0ef

Please sign in to comment.