[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 
viewmode='reject'.

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

Error in ft_databrowser (line 685)
redraw_cb(h);

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

Am I doing something wrong or is this a bug?

-Dave




More information about the fieldtrip mailing list