[FieldTrip] Warnings on CentOS break code?

Stephen Whitmarsh stephen.whitmarsh at gmail.com
Fri Sep 22 14:12:11 CEST 2017


Hi there,

Since upgrading to the latest FT version, some warnings throw an error
because FT cannot determine it's in a CentOS distro. At least, that's what
I think it is?

Am I missing something?

Best,
Stephen

cfg = [];
cfg.artfctdef               = artdef_MEG{ipart};
cfg.artfctdef.reject        = 'partial';
cfg.artfctdef.minaccepttim  = 3;
data{ipart}                 = ft_rejectartifact(cfg,data{ipart});

results in:

Error using ft_platform_supports (line 134)
unsupported value for first argument: html

Error in ft_notification (line 376)
          if ft_platform_supports('html')

Error in ft_warning (line 63)
  ft_notification(varargin{:});

Error in getdimord>warning_dimord_could_not_be_determined (line 621)
  ft_warning('%s\n\n%s', msg,content);

Error in getdimord (line 572)
  warning_dimord_could_not_be_determined(field,data);

Error in ft_selectdata (line 201)
  dimord{i} = getdimord(varargin{1}, datfield{i});

Error in WANDER_common_filter_DICS (line 85)
    hdr = ft_selectdata(cfg,hdr);

134     error('unsupported value for first argument: %s', what);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20170922/2492f3aa/attachment-0001.html>


More information about the fieldtrip mailing list