Back to the main page.

Bug 48 - warning off should always revert to previous warning state

Status CLOSED FIXED
Reported 2010-03-10 09:06:00 +0100
Modified 2011-01-05 12:01:11 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2010-03-10 09:06:53 +0100

in some fieldtrip functions the following is done warning off do something that causes non-problematic warning warning on this should be replaced by ws = warning('off'); do something that causes non-problematic warning warning(ws); % revert to previous warning state


Robert Oostenveld - 2010-03-16 09:35:45 +0100

solved in main functions clusterrandanalysis.m ft_freqanalysis_mtmconvol.m ft_freqanalysis_wltconvol.m ft_volumenormalise.m the subdirectories still have to be done.


Robert Oostenveld - 2010-07-04 12:04:53 +0200

the following functions should be checked MacBook> grep 'warning off' *.m */*.m */*/*.m ft_connectivityanalysis.m:% warning off; ft_volumesegment.m: % warning off; private/clusterrandstatistics.m:warning off; private/retriangulate.m:warning off MATLAB:divideByZero realtime/ft_realtime_process.m: warning off all; fileio/private/loadcnt.m: warning off ; fileio/private/read_ctf_ascii.m: warning off fileio/private/read_ctf_mri4.m:warning off


Robert Oostenveld - 2010-07-06 11:05:06 +0200

this has been fixed for the affected functions: manzana> svn commit Sending fileio/private/loadcnt.m Sending fileio/private/read_ctf_ascii.m Sending fileio/private/read_ctf_mri4.m Sending private/clusterrandstatistics.m Sending private/retriangulate.m Sending realtime/ft_realtime_process.m Transmitting file data ...... Committed revision 1362.


Robert Oostenveld - 2011-01-05 11:57:07 +0100

selected a long list of resolved bugs from roboos and changed the status into "RESOLVED"


Robert Oostenveld - 2011-01-05 12:01:11 +0100

selected all old bugs from roboos with status RESOLVED and changed it into CLOSED