Back to the main page.

Bug 2284 - ft_multiplotTFR: working with connectivity data and cfg.refchannel='gui' crashes

Status CLOSED FIXED
Reported 2013-09-13 16:21:00 +0200
Modified 2014-01-15 14:46:03 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to: Jan-Mathijs Schoffelen
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2013-09-13 16:21:12 +0200

Created attachment 516 use as ft_multiplotTFR(cfg,data) to reproduce When trying to select a reference channel on the 'gui' topography I get an error, which I haven't encountered before. Reference to non-existent field 'dataname'. Error in ft_multiplotTFR>select_multiplotTFR (line 684) cfg.dataname = info.dataname; Error in ft_select_channel>select_channel_multiple (line 148) feval(funhandle, label, funargs{:}); Error in ft_select_range>evalCallback (line 325) feval(funhandle, funargs{:}, val, cmenulab); Error in ft_select_range (line 159) evalCallback(callback, userData.range); Error while evaluating figure WindowButtonDownFcn Course of action: reproduce the error and then fix it.


Jan-Mathijs Schoffelen - 2013-09-14 18:32:47 +0200

Note: the bug was first seen on a Mac running matlab2013a.....................


Jan-Mathijs Schoffelen - 2013-11-29 12:31:56 +0100

reproduced on a Mac running 2011a. Cause: missing initialization of info.dataname, when cfg.refchannel = 'gui'; fixed in revision 8914