Skip to content

Commit

Permalink
automatically synchronized identical files to 6a19df4
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoostenveld committed Sep 21, 2018
1 parent 6a19df4 commit 851de16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fileio/private/ft_datatype_timelock.m
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@
timelock = rmfield(timelock, 'trialinfo');
end

% this field can be present in raw data, but is not desired in timelock data
timelock = removefields(timelock, {'fsample'});

case '2011v2'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% ensure that the sensor structures are up to date
Expand All @@ -167,7 +170,7 @@
timelock.opto = ft_datatype_sens(timelock.opto);
end

% these fields can be present in raw data, but not desired in timelock data
% these fields can be present in raw data, but are not desired in timelock data
timelock = removefields(timelock, {'sampleinfo', 'fsample'});

case '2003'
Expand Down
1 change: 1 addition & 0 deletions utilities/private/ignorefields.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'grad'
'elec'
'opto'
'fsample'
'trialinfo' % this is dealt with explicitly
'sampleinfo' % this is dealt with explicitly
};
Expand Down

0 comments on commit 851de16

Please sign in to comment.