Back to the main page.

Bug 1814 - ft_spike_waveform: typo in config option

Status CLOSED FIXED
Reported 2012-11-06 16:49:00 +0100
Modified 2019-08-10 11:56:34 +0200
Product: FieldTrip
Component: documentation
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 trivial
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Joscha Schmiedt - 2012-11-06 16:49:47 +0100

cfg.allign should be cfg.align


Bart Gips - 2012-11-06 17:08:42 +0100

Indeed. I have replaced all mentions of the cfg field called 'allign' with 'align'. (and tested the function using test_tutorial_spike) Fixed as of revision 6880.


Robert Oostenveld - 2012-11-07 10:03:48 +0100

I have added the following to the code, otherwise users with the typo in their scripts (probably including Martin) would have a problem. % support the typo in this cfg option that was present in older versions of this function % see http://bugzilla.fcdonders.nl/show_bug.cgi?id=1814 cfg = ft_checkconfig(cfg, 'renamed', {'allign', 'align'}); mac001> svn commit ft_spike_waveform.m Sending ft_spike_waveform.m Transmitting file data . Committed revision 6881.


Robert Oostenveld - 2019-08-10 11:56:34 +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.