You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the latest versions of brainstorm, creating a new protocol crashes. My operating system is ubuntu 20.04, and this error occurred on matlab 2021a as well as matlab 2022a.
I checked out previous commits to see if this issue still occurred and it looks like 3f20be8 was the last version that still works.
The error message it throws is:
_Index exceeds the number of array elements. Index must not exceed 0.
Error in db_parse_subject (line 187)
if (length(sSubject(1).Anatomy) >= 2)
Error in db_load_subjects (line 125)
ProtocolSubjects.Subject = db_parse_subject(ProtocolInfo.SUBJECTS, '', 45);
Error in db_reload_database (line 74)
db_load_subjects(0, isFix);
Error in db_load_protocol (line 93)
db_reload_database(iProtocols(i));
Error in gui_brainstorm>SetCurrentProtocol (line 1046)
db_load_protocol(iProtocol);
Error in gui_brainstorm (line 33)
eval(macro_method);
Error in gui_edit_protocol/updateProtocolModificiations (line 180)
gui_brainstorm('SetCurrentProtocol', Protocol);_
The text was updated successfully, but these errors were encountered:
rcassani
added a commit
to rcassani/brainstorm3
that referenced
this issue
May 9, 2022
In the latest versions of brainstorm, creating a new protocol crashes. My operating system is ubuntu 20.04, and this error occurred on matlab 2021a as well as matlab 2022a.
I checked out previous commits to see if this issue still occurred and it looks like 3f20be8 was the last version that still works.
The error message it throws is:
_Index exceeds the number of array elements. Index must not exceed 0.
Error in db_parse_subject (line 187)
if (length(sSubject(1).Anatomy) >= 2)
Error in db_load_subjects (line 125)
ProtocolSubjects.Subject = db_parse_subject(ProtocolInfo.SUBJECTS, '', 45);
Error in db_reload_database (line 74)
db_load_subjects(0, isFix);
Error in db_load_protocol (line 93)
db_reload_database(iProtocols(i));
Error in gui_brainstorm>SetCurrentProtocol (line 1046)
db_load_protocol(iProtocol);
Error in gui_brainstorm (line 33)
eval(macro_method);
Error in gui_edit_protocol/updateProtocolModificiations (line 180)
gui_brainstorm('SetCurrentProtocol', Protocol);_
The text was updated successfully, but these errors were encountered: