Skip to content

Commit 62d32c2

Browse files
massichlarsoner
authored andcommitted
fix circle (#5865)
1 parent 83d48ec commit 62d32c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mne/io/edf/edf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def _read_segment_file(self, data, idx, fi, start, stop, cals, mult):
281281
d_sidx = d_lims[ai][0]
282282
d_eidx = d_lims[ai + n_read - 1][1]
283283
if n_samps[ci] != buf_len:
284-
if ci in stim_channel:
284+
if stim_channel is not None and ci in stim_channel:
285285
# Stim channel will be interpolated
286286
old = np.linspace(0, 1, n_samps[ci] + 1, True)
287287
new = np.linspace(0, 1, buf_len, False)

0 commit comments

Comments
 (0)