# HG changeset patch # User Mathieu Lagrange # Date 1495442770 -7200 # Node ID d0ceb549f734aabf6fbc6c9b607df9aca317350c # Parent 8ce78cacb5cb5b167b96bb079b8522f2034baa9b replace warning to error display channel diff -r 8ce78cacb5cb -r d0ceb549f734 nonExposed/addUserOffsets.m --- a/nonExposed/addUserOffsets.m Mon May 22 10:26:04 2017 +0200 +++ b/nonExposed/addUserOffsets.m Mon May 22 10:46:10 2017 +0200 @@ -21,7 +21,7 @@ if length(scoreEvent)==1 && strcmp('',scoreEvent{1}{1}) % add the same offset to all the classes userOffset=[repmat(scoreEvent{1}{3},length(template),1) repmat(scoreEvent{1}{4},length(template),1) repmat(scoreEvent{1}{5},length(template),1) repmat(scoreEvent{1}{6},length(template),1)]; - fprintf(2, 'score.event if of length 1: classId will set to the class labels of the scene to replicate') + fprintf(2, 'score.event if of length 1: classId will set to the class labels of the scene to replicate.\n') else % add class wise offsets for jj=1:length(scoreEvent) scoreEventClass{jj}=scoreEvent{jj}{1}; end; for ii=1:length(template) diff -r 8ce78cacb5cb -r d0ceb549f734 nonExposed/check_options.m --- a/nonExposed/check_options.m Mon May 22 10:26:04 2017 +0200 +++ b/nonExposed/check_options.m Mon May 22 10:46:10 2017 +0200 @@ -41,7 +41,7 @@ if strcmp(timeMode,'generate') && strcmp(timeMode,'generate') error('Score does not have a sceneDuration field') else - fprintf(2, 'score.sceneduration does not exist; sceneDuration will be set to the duration of the scene to replicate') + fprintf(2, 'score.sceneduration does not exist; sceneDuration will be set to the duration of the scene to replicate.\n') end end @@ -53,7 +53,7 @@ if ~strcmp(timeMode,'generate') || ~strcmp(timeMode,'generate') if isfield(score,'events') - fprintf(2, 'score.event exist; score.events cells values will be used as offsets') + fprintf(2, 'score.event exist; score.events cells values will be used as offsets.\n') end end diff -r 8ce78cacb5cb -r d0ceb549f734 nonExposed/getEvent.m --- a/nonExposed/getEvent.m Mon May 22 10:26:04 2017 +0200 +++ b/nonExposed/getEvent.m Mon May 22 10:46:10 2017 +0200 @@ -48,12 +48,12 @@ if (settings.start_time > score.sceneDuration) settings.start_time = score.sceneDuration; - fprintf(2, ['Sart time of event class ' score.events{ii}{1} ' is superior to the scene Duration; start time has been set to the scene duration.']) + fprintf(2, ['Sart time of event class ' score.events{ii}{1} ' is superior to the scene Duration; start time has been set to the scene duration.\n']) end if (settings.end_time > score.sceneDuration) settings.end_time = score.sceneDuration; - fprintf(2, ['End time of event class ' score.events{ii}{1} ' is superior to the scene Duration; end time has been set to the scene duration.']) + fprintf(2, ['End time of event class ' score.events{ii}{1} ' is superior to the scene Duration; end time has been set to the scene duration.\n']) end