Back to the main page.

Bug 130 - ensure robust behaviour for freqanalysis when user specifies both cfg.channel and cfg.channelcmb

Status CLOSED FIXED
Reported 2010-08-19 12:28:00 +0200
Modified 2010-11-03 13:43:14 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 enhancement
Assigned to: Joint development user
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2010-08-19 12:28:41 +0200

...and does so incorrectly... It could be that the requested channels according to channelcmb > than the requested channels in cfg.channel. In the current implementation this may lead to unwanted behaviour. The proposal is to explicitly check a discrepancy between the channel-list as requested from cfg.channelcmb and the the list as requested by cfg.channel. Throw an error if there are entries occurring in cfg.channelcmb which don't occur in cfg.channel


Roemer van der Meij - 2010-11-03 13:42:55 +0100

Now throws an error when channels in cfg.channelcmb are not present in cfg.channel.