We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 412d18c commit 659783cCopy full SHA for 659783c
1 file changed
mne/io/fiff/raw.py
@@ -297,14 +297,15 @@ def _read_raw_file(
297
nskip = 0
298
299
if nskip_in_samples > 0:
300
- raw_extras.append(
301
- dict(
302
- ent=None,
303
- first=first_samp,
304
- nsamp=nskip_in_samples,
305
- last=first_samp + nskip_in_samples - 1,
+ if not first_data_buffer:
+ raw_extras.append(
+ dict(
+ ent=None,
+ first=first_samp,
+ nsamp=nskip_in_samples,
306
+ last=first_samp + nskip_in_samples - 1,
307
+ )
308
)
- )
309
first_samp += nskip_in_samples
310
nskip_in_samples = 0
311
0 commit comments