Back to the main page.

Bug 1279 - ft_artifact_zvalue crashes in interactive mod

Status CLOSED FIXED
Reported 2012-01-23 17:19:00 +0100
Modified 2012-08-23 14:02:11 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Jörn M. Horschig
URL:
Tags:
Depends on:
Blocks:
See also:

Jörn M. Horschig - 2012-01-23 17:19:00 +0100

showing trial 1, channel FT7 ??? Error using ==> getappdata Invalid object handle Error in ==> ft_artifact_zvalue at 396 opt = getappdata(h, 'opt'); Error in ==> JMH_jump_artifact at 24 [artifct_cfg, artifacts] = ft_artifact_zvalue(artifct_cfg, data); Error in ==> preproc_events at 228 [artifct_cfg, artifact_jump] = JMH_jump_artifact(cfg, meeg_data); Error in ==> preproc_EEG at 58 [meeg_data ieeg_data eye_data eog_data]= preproc_events(tmp_cfg, conditions(c), artfctdef); Error in ==> pipeline_preproc at 37 preproc_EEG(subj, main_cfg); ----- Possible reason: Figure gets closed *before* opt is retrieved and function cleanup_cb(h, eventdata) is never called


Jörn M. Horschig - 2012-01-23 17:31:23 +0100

fixed by set(h, 'CloseRequestFcn', @cleanup_cb); 108 $ svn ci ft_artifact_zvalue.m -m "bugfix-#1279- ft_artifact_zvalue works in interactive mode again" Sending ft_artifact_zvalue.m Transmitting file data . Committed revision 5165.


Jörn M. Horschig - 2012-08-23 14:02:11 +0200

bug closing time (http://www.youtube.com/watch?v=xGytDsqkQY8)