Skip to content

Commit

Permalink
le typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cwindolf committed Oct 21, 2024
1 parent c3a356c commit aa942c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dartsort/util/spikeio.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def read_waveforms_channel_index(
n_channels = recording.get_num_channels()

if recording.binary_compatible_with(
file_offset=0, time_axis=0, file_paths_lenght=1 # sic
file_offset=0, time_axis=0, file_paths_length=1
):
# fast path. this is like 2x as fast as the read_traces for loop
# below, but requires a recording on disk in a nice format
Expand Down Expand Up @@ -258,7 +258,7 @@ def read_single_channel_waveforms(
assert channels.min() >= 0

if recording.binary_compatible_with(
file_offset=0, time_axis=0, file_paths_lenght=1 # sic
file_offset=0, time_axis=0, file_paths_length=1
):
# fast path. this is like 2x as fast as the read_traces for loop
# below, but requires a recording on disk in a nice format
Expand Down Expand Up @@ -455,7 +455,7 @@ def read_waveforms_channel_index_chunked(
read_times = times_samples - trough_offset_samples

if recording.binary_compatible_with(
file_offset=0, time_axis=0, file_paths_lenght=1 # sic
file_offset=0, time_axis=0, file_paths_length=1
):
# fast path. this is like 2x as fast as the read_traces for loop
# below, but requires a recording on disk in a nice format
Expand Down

0 comments on commit aa942c4

Please sign in to comment.