If one adds a new SEEG electrode model (by clicking the + on the “Electrode configuration” subpanel), it is actually impossible to delete it later. One gets the non-grammatical message: “This is a Brainstorm default electrode model and cannot deleted.”
This is because of 2 bugs in panel_ieeg.m:
defaultis misspelled at line 1876, which causesGetElectrodeModelsto always return all defined electrode models, not just the defaults- The wrong field is used at line 2162, presumably
Nameshould be used and notModel. WhenModelis used, empty strings are compared at that line, so it always evaluates to true.
When I correct the 2 issues above I am able to delete newly added electrode types.