Authored by Anthony Boyer

Fix for TOU patients.

@@ -115,6 +115,7 @@ for j=1:length(KeepEvent) % Navigate all stim events @@ -115,6 +115,7 @@ for j=1:length(KeepEvent) % Navigate all stim events
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),'HUH');noteName = strrep(noteName,'.0','');end%some HUH notes 117 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
118 noteName = strrep(noteName,'.',''); noteName = strrep(noteName,',',''); % /!\ float value becomes integer /!\ 119 noteName = strrep(noteName,'.',''); noteName = strrep(noteName,',',''); % /!\ float value becomes integer /!\
119 noteName = strrep(noteName,'sec','s'); noteName = strrep(noteName,'AA','A'); 120 noteName = strrep(noteName,'sec','s'); noteName = strrep(noteName,'AA','A');
120 noteName = strrep(noteName,'Stim_Start_',''); noteName = strrep(noteName,'Stim_Stop_',''); 121 noteName = strrep(noteName,'Stim_Start_',''); noteName = strrep(noteName,'Stim_Stop_','');