Back to the main page.
Bug 3349 - Octave fails running ft_defaults due to using non-functional form of ft_warning
| Status | CLOSED FIXED |
| Reported | 2017-09-18 12:09:00 +0200 |
| Modified | 2019-08-10 12:36:43 +0200 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Mac OS |
| Importance: | P5 major |
| Assigned to: | |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
nno - 2017-09-18 12:09:09 +0200
Recent tests using Travs of FieldTrip results in failures (e.g. https://travis-ci.org/CoSMoMVPA/CoSMoMVPA/jobs/276506018) This is because expressions such as ``` ft_warning backtrace on ``` give an error in Octave when used inside a function. Using the functional form, as in ``` ft_warning('backtrace','on'); ``` works fine. Commit e1519009c97585bfcb2c923590e7bcd6ff826c96 introduced the use ft_warning without parenthesis. Proposed fix: https://github.com/fieldtrip/fieldtrip/pull/526
Jan-Mathijs Schoffelen - 2018-11-14 13:22:51 +0100
This has been addressed