Back to the main page.

Bug 1649 - cfg option Ftest starts with an upper-case character, should be lower-case

Status CLOSED FIXED
Reported 2012-08-13 13:01:00 +0200
Modified 2019-08-10 11:56:59 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 normal
Assigned to: Arjen Stolk
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2012-08-13 13:01:01 +0200

See http://fieldtrip.fcdonders.nl/reference/index and notice that Ftest does not show up in the ordering. Furthermore, we have no other upper-case characters in cfg options. In general we should discourage users from using upper-case characters. I am also not happy with TFR, ER and IC in the plotting functions, but they are now impossible to get rid of. Please change into ftest and add backward compatibility with ft_checkconfig.


Arjen Stolk - 2012-08-13 21:15:04 +0200

Agreed. Changed cfg.Ftest to cfg.ftest. Added '.. ,'renamed', {'Ftest','ftest'}, ...' to ft_checkconfig. A warning is now provided when cfg.Ftest is specified.


Robert Oostenveld - 2019-08-10 11:56:59 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on https://github.com/fieldtrip/fieldtrip/issues.