Back to the main page.

Bug 670 - ft_channelselection cannot handle all regular 'regular expressions'

Reported 2011-05-16 13:10:00 +0200
Modified 2011-11-23 09:06:16 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 minor
Assigned to: Jörn M. Horschig
Depends on:
See also:

Jörn M. Horschig - 2011-05-16 13:10:11 +0200

e.g. = {'all', '-*RW_3*') should take all channels but those that have 'RW_3' somewhere. most likely to be dealt with by changing line 148 and 152 to an if rather than an elseif, and make sure to not run into the for-loop in line 143 if the channel starts with '-'

Robert Oostenveld - 2011-11-23 09:06:16 +0100

All channel selections are working as expected. I have added a test script, see test_bug670. ip212-238-43-102> svn commit test/test_bug670.m ft_channel*m Sending ft_channelcombination.m Sending ft_channelselection.m Adding test/test_bug670.m Transmitting file data ... Committed revision 4790.