Back to the main page.

Bug 2086 - ft_databrowser hangs with data output from ft_appenddata

Reported 2013-03-30 21:40:00 +0100
Modified 2013-06-05 12:13:56 +0200
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Roemer van der Meij
Depends on:
See also:

Raquel - 2013-03-30 21:40:26 +0100

When calling ft_databrowser with data that has been appended, ft_databrowser hangs on line 244: if isfield(data, 'cfg') && ~isempty(ft_findcfg(data.cfg, 'origfs')) As a temporary fix so that I may view these data using ft_databrowser, I comment out lines 244-254 and insert event =[]; ft_databrowser was called using the following cfg: cfg = []; %cfg.dataset = sprintf('%s', 'data/' , subj{isub} ,'/', cond{icond}, set{1}, time{itime} ,'_all.mat'); cfg.continuous = 'no'; = {'all' }; cfg.preproc.demean = 'yes'; cfg.viewmode = 'butterfly'; cfg.ylim = [-200 200]; cfg.layout = 'J:\Projects\ANT_trial\Export\customANT.lay'; = 'all'; cfg = ft_databrowser(cfg,data); The data can be accessed here:

Robert Oostenveld - 2013-04-02 09:36:39 +0200

I have copied the test file to the central directory and added a test script for this bug. I have not tested it myself yet. mac001> git commit test_bug2086.m [master 9be2b97] enhancement - added test script for issue #2086 1 file changed, 20 insertions(+) create mode 100644 test/test_bug2086.m mac001> git push fieldtrip master Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication data for X11 forwarding. Counting objects: 6, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 722 bytes, done. Total 4 (delta 2), reused 0 (delta 0) To 508286b..9be2b97 master -> master

Roemer van der Meij - 2013-04-16 18:12:20 +0200

Hi Raquel, Thanks for your report, and sorry for the late reply! There was a bug in ft_findcfg, it should be fixed now and on the ftp-server tonight. All the best, Roemer

Roemer van der Meij - 2013-06-05 12:13:56 +0200

Closing time