Authored by Anthony Boyer

Fix for BIC notes.

@@ -113,7 +113,8 @@ for j=1:length(KeepEvent) % Navigate all stim events @@ -113,7 +113,8 @@ for j=1:length(KeepEvent) % Navigate all stim events
113 noteName(~ismember(double(noteName),['A':'Z' 'a':'z' '_' '.' '''' 'µ' '-' '0':'9'])) =''; 113 noteName(~ismember(double(noteName),['A':'Z' 'a':'z' '_' '.' '''' 'µ' '-' '0':'9'])) ='';
114 noteName = regexprep(noteName,'_+','_'); noteName = regexprep(noteName,'µ','u'); 114 noteName = regexprep(noteName,'_+','_'); noteName = regexprep(noteName,'µ','u');
115 if strcmpi(patientCode(5:end),'MIL');noteName = strrep(noteName,'.0',''); noteName = strrep(noteName,'_MA_','_');end%some MIL notes 115 if strcmpi(patientCode(5:end),'MIL');noteName = strrep(noteName,'.0',''); noteName = strrep(noteName,'_MA_','_');end%some MIL notes
116 - if strcmpi(patientCode(5:end),'REN');noteName = strrep(noteName,'.0','');end%some REN notes 116 + if strcmpi(patientCode(5:end),'REN');noteName = strrep(noteName,'.0','');end%some REN notes
  117 + if strcmpi(patientCode(5:end),'BIC');noteName = strrep(noteName,'.0','');end%some BIC notes
117 if strcmpi(patientCode(5:end),'HUH');noteName = strrep(noteName,'.0','');end%some HUH notes 118 if strcmpi(patientCode(5:end),'HUH');noteName = strrep(noteName,'.0','');end%some HUH notes
118 if strcmpi(patientCode(5:end),'TOU');noteName = strrep(noteName,'.0','');end%some TOU notes 119 if strcmpi(patientCode(5:end),'TOU');noteName = strrep(noteName,'.0','');end%some TOU notes
119 if strcmpi(patientCode(5:end),'GRE');noteName = strrep(noteName,'.0','');end%some GRE notes 120 if strcmpi(patientCode(5:end),'GRE');noteName = strrep(noteName,'.0','');end%some GRE notes