Back to the main page.
Bug 3356 - ft_platform_supports breaks with optiom 'html'
Status | CLOSED WONTFIX |
Reported | 2017-09-25 13:37:00 +0200 |
Modified | 2019-08-10 12:40:31 +0200 |
Product: | FieldTrip |
Component: | core |
Version: | unspecified |
Hardware: | Other |
Operating System: | Linux |
Importance: | P5 normal |
Assigned to: | |
URL: | |
Tags: | |
Depends on: | |
Blocks: | |
See also: |
Stephen Whitmarsh - 2017-09-25 13:37:19 +0200
Hi there, Running MATLAB2016b on CentOS, my code that otherwise works in Windows breaks due to ft_platform_supports being called with option 'html'. There is not such a case in ft_platform_supports. This problem also only occurred after updating FT last week. Some synchronization seem to have been made last month. My problem is not restricted to this particular case, as after avoiding some other warnings, it breaks at a different place, i.e. at a different function calling e.g. ft_checkdata. I am a bit in the dark how to even make a work-around, but I expect this to be a bug. I hope this can be easily resolved. Best, Stephen -------------- Output argument "tf" (and maybe others) not assigned during call to "ft_platform_supports". Error in ft_notification (line 376) if ft_platform_supports('html') Error in ft_warning (line 63) ft_notification(varargin{:}); Error in ft_checkconfig (line 125) ft_warning('use cfg.%s instead of cfg.%s', renamed{2}, renamed{1}); Error in ft_prepare_leadfield (line 117) cfg = ft_checkconfig(cfg, 'renamed', {'vol', 'headmodel'}); Error in WANDER_common_filter_DICS (line 92) leadfield = ft_prepare_leadfield(cfg); Error in launch_WANDER_batch (line 34) WANDER_common_filter_DICS(isubject,rootpath,force);
Jan-Mathijs Schoffelen - 2017-11-14 09:41:37 +0100
Hi Stephen, What happens if you address the issue that causes you to end up in this corner of the code? I.e. replace cfg.vol in your script with cfg.headmodel?
Stephen Whitmarsh - 2017-11-21 14:27:51 +0100
Hi Jan-Mathijs, Sorry, I overlooked your response. In the meantime it runs. I might have done as you suggested, or not. But the bug can be closed. Thanks, Stephen
Stephen Whitmarsh - 2017-11-21 14:29:26 +0100
Problem does not occur anyway, might have been caused by improper use of cfg.vol
Robert Oostenveld - 2019-08-10 12:34:21 +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 on https://github.com/fieldtrip/fieldtrip/issues.