Hello, when attempting to import events - that were exported from Brainstorm under the “CSV text file: label, time ,duration (*.txt, *.csv)” file type - back into brainstorm I get the error:
“Line 320: Index exceeds the number of array elements”
The file being imported was a direct output from a Brainstorm protocol but is there a formatting guideline somewhere that I am missing?
Hi @mrsh0res, it seems there is problem on merging the events already in Brainstorm with the events coming from the .csv file.
Would it be possible for you to share the event information for further debugging?
-
Events in Brainstorm
With the file open, in the Record tab go to File > Export all events and select the type Brainstorm (events*.mat)
-
One of the CSV files with which the error is shown
@mrsh0res, please check after this commit 11109c7 (19-Sep-2025)