Back to the main page.
Bug 3076 - [ws, warned] = ft_warning(varargin)
Status | CLOSED FIXED |
Reported | 2016-02-19 21:37:00 +0100 |
Modified | 2016-06-14 16:14:51 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | All |
Operating System: | All |
Importance: | P5 minor |
Assigned to: | Robert Oostenveld |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
David Devilbiss - 2016-02-19 21:37:06 +0100
Reference to bugID 3002: line 56 of the function ft_warning should be changed to: _______ lines global ft_default ws = []; warned = false; _______ If the function returns with a warning in the stack: if any(strcmp({stack.file}, 'ft_warning.m')) % don't call FT_WARNING recursively, see http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=3068 return; end ws and warned are not returned and function throws an error.
Robert Oostenveld - 2016-02-21 14:25:54 +0100
thanks, I indeed overlooked that. https://github.com/fieldtrip/fieldtrip/pull/98 addresses this and has been merged with the master.