Error: Line 522

During the icEEG location update XYZ on the MRI registartion (using CT and MRI) the error kept showed up. The electrodes were still displaying correctly. Not sure what the errors meant. This is the first time I ever got this errors

** Error: Line 522: Index exceeds the number of array elements. Index must not exceed 2.
**
** Call stack:
** >panel_ieeg.m>UpdateContactList at 522
** >panel_ieeg.m>CreatePanel/ElecListClick_Callback at 336
** >bst_call.m at 28
** >panel_ieeg.m>@(h,ev)bst_call(@ElecListClick_Callback,h,ev) at 101

@taung thank you for reporting this. This is a known issue and is in works in the PR Refactor updated IEEG features by rcassani · Pull Request #710 · brainstorm-tools/brainstorm3 · GitHub.

We will release this soon.

This error has been fixed as of August 8, 2024 as per this PR. Please update your instance of brainstorm.