changeset 1:c8924e29f1aa

doorknock to knock
author emmanouilb <emmanouil.benetos.1@city.ac.uk>
date Sat, 13 Apr 2013 09:42:08 +0100
parents 2c9915c861d8
children dcaf371d33e3 d69a2fdd2354
files event_detection/loadEventsList.m
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/event_detection/loadEventsList.m	Fri Mar 08 11:33:20 2013 +0000
+++ b/event_detection/loadEventsList.m	Sat Apr 13 09:42:08 2013 +0100
@@ -16,6 +16,9 @@
     if (ischar(tline))
         onset_offset(:,i) = sscanf(tline, '%f\t%f\t%*s');
         classNames{i} = char(sscanf(tline, '%*f\t%*f\t%s')');
+    	if (classnames{i} == 'doorknock')
+           classnames{i} = 'knock';
+    	end; 
     end;
 end
 
@@ -24,4 +27,4 @@
 offset = onset_offset(2,:)';
 
 % Close file
-fclose(fid);
\ No newline at end of file
+fclose(fid);