[FieldTrip] cfg.viewmode='reject' throws databrowser error

Dave Britton dave at davebritton.com
Sun Jan 27 22:21:17 CET 2013

In the following preprocessing, reject_visual and databrowse sequence, 
ft_reject_visual sets viewmode to 'reject' as a default (line 176), then 
when ft_databrowser is run, it throws an error upon finding 

(from main routine semattn.m:)
data = ft_preprocessing(cfg);
[data2] = ft_rejectvisual(cfg, data);
cfg = ft_databrowser(data2.cfg,data2);
Error using ft_databrowser>redraw_cb (line 1713)
unknown viewmode "remove"

Error in ft_databrowser (line 685)

Error in semattn_main (line 76)
cfg = ft_databrowser(data2.cfg,data2);

Am I doing something wrong or is this a bug?


More information about the fieldtrip mailing list