Back to the main page.

Bug 1175 - trialinfo mistakenly removed in ft_rejectcomponent

Status CLOSED FIXED
Reported 2011-11-22 15:15:00 +0100
Modified 2011-11-23 11:33:44 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Johanna
URL:
Tags:
Depends on:
Blocks:
See also:

Johanna - 2011-11-22 15:15:36 +0100

The if-statements in lines 140 and 141 are never satisfied with 'hasdata' as they are inside a section of code that is ~hasdata (see lines 117 and 130). Can the 'trialinfo' and 'sampleinfo' be retained in the output 'data' if they exist in 'comp'? (i.e. there aren't any theoretical objections to retaining them?) If so, then perhaps enter them in as the 'grad' and 'elec' fields are, in lines 147/8?


Johanna - 2011-11-22 15:35:42 +0100

made change as suggested.


Boris Reuderink - 2011-11-23 11:33:44 +0100

SVN revision 4783, file ft_rejectcomponent.m