Back to the main page.
Bug 2927 - ft_warning: missing ignore field. I.e. who warns the warning?
| Status | CLOSED FIXED |
| Reported | 2015-07-13 14:49:00 +0200 |
| Modified | 2015-07-15 13:31:07 +0200 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Windows |
| Importance: | P5 critical |
| Assigned to: | Robert Oostenveld |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Stephen Whitmarsh - 2015-07-13 14:49:08 +0200
Hi Everyone, Seems that coming back at work after spending a week in France, you have not been idle. Using the latest revision #10530, I get the following error: ---------------------- Reference to non-existent field 'ignore'. Error in ft_warning (line 122) if ismember(msg, ft_default.warning.ignore) Error in ft_sourceplot>cb_redraw (line 1473) ft_warning('no colorbar possible without functional data'); Error in ft_sourceplot (line 836) cb_redraw(h); Error in metacognition_forward_models (line 20) ft_sourceplot(cfg, mri_orig); ---------------------- C'est moi, ou c'est toi? Let me know if it is not obvious and I have to send some code/data to replicate. Best wishes, Stephen
Robert Oostenveld - 2015-07-13 16:13:13 +0200
I added the ignore option last week. Had you started with a fresh MATLAB, you would not have noticed. But keeping MATLAB running and then doing "svn update" resulted in a global ft_default that was missing the respective field. This fixes it. mac011> svn commit ft_warning.m Sending ft_warning.m Transmitting file data . Committed revision 10531.