Back to the main page.

Bug 1776 - ft_channelselection: should this produce an error when no channels are selected?

Status CLOSED WONTFIX
Reported 2012-10-10 14:22:00 +0200
Modified 2013-01-17 10:37:00 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Roemer van der Meij
URL:
Tags:
Depends on:
Blocks:
See also:

Roemer van der Meij - 2012-10-10 14:22:40 +0200

I found only one case where it could be meaningfull, badchannel in ft_channelrepair. I could have missed others. What stopped me to put a simple error at the end of ft_channelselection is around line 90. When the desired channelselection is empty, it does a return. There must be a reason why this is here ;). Parking this bug for now. In my view, it is expected behaviour to receive an error when no channels are selected.


Roemer van der Meij - 2012-11-08 15:08:25 +0100

After discussion in the FT-meeting on 7-11-2012 it was decided it was undesired behavior for ft_channelselection to produce an error when nothing is selected. I initially came across this while working on one of the test-scripts that failed (ft_channelrepair doesn't give an error or anything like that). IIRC the reason for failure was unrelated. I will try to remember/find which one failed.


Roemer van der Meij - 2013-01-17 10:37:00 +0100

bug closing time