Importing. Index exceeds the number of array elements

Hi!

I am trying to create a new protocol but I have problems importing EEG files.

Besides, this mistake appears also when I try import eeg file a older protocol (before I hadn´t this issue). Nothing has changed in brainstorm bd folder.

Thanks in advance,
Esteban

This bug was introduced here: https://github.com/brainstorm-tools/brainstorm3/commit/e449913a271f0bab3464b47abad0a5a3099f908f#

It is now fixed with this commit: https://github.com/brainstorm-tools/brainstorm3/commit/00529e18848591d7d808242d1e3e45e08b4738e6

Please update Brainstorm and try again.

Everything is working properly.

Thanks a lot!