Skip to content

Commit

Permalink
Fix timeDriftPP which is not ran in auto mode. Also, it must only app…
Browse files Browse the repository at this point in the history
…ly to FV01.
  • Loading branch information
ggalibert committed Apr 18, 2016
1 parent af92a16 commit 5de88dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Preprocessing/timeDriftPP.m
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@

if ~iscell(sample_data), error('sample_data must be a cell array'); end
if isempty(sample_data), return; end
% if this is the second time through (ie for applying autoQC PP
% routines), then return. sample_data already contains the corrections
% and they are therefore carried through.
if auto, return; end

% no modification of data is performed on the raw FV00 dataset except
% local time to UTC conversion
if strcmpi(qcLevel, 'raw'), return; end

% auto logical in input to enable running under batch processing
if nargin<3, auto=false; end
Expand Down Expand Up @@ -189,7 +189,7 @@

%check for zero values in both fields
if startOffsets(k) == 0 && endOffsets(k) == 0
continue
continue;
end

% look time through dimensions
Expand Down

0 comments on commit 5de88dd

Please sign in to comment.