Error with reading bdf

External Email - Use Caution

Hi all,
       When I used the command *mne.io.read_raw_bdf* to read a bdf file,
there is an error "*IndexError: index 20 is out of bounds for axis 0 with
size 19*". Does anyone know how to fix this? I attached the sample file.
      Thanks a lot.

https://drive.google.com/file/d/1GP5FT84sabMCGBRY4oXikcxGf-kKIoa0/view?usp=sharing

External Email - Use Caution

Hi!

Thanks for reporting this bug. I have opened an issue on GitHub (https://github.com/mne-tools/mne-python/issues/7189), let's continue the discussion there.

Clemens