Back to the main page.

Bug 452 - cpompat functions are being called by trialfun_xxx

Status CLOSED FIXED
Reported 2011-01-28 10:47:00 +0100
Modified 2011-03-31 14:13:58 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Cristiano Micheli
URL: http://fieldtrip.fcdonders.nl/development/compat
Tags:
Depends on:
Blocks:
See also:

Robert Oostenveld - 2011-01-28 10:47:14 +0100

the functions '/Users/robert/matlab/fieldtrip/fileio/compat/read_event.m' '/Users/robert/matlab/fieldtrip/fileio/compat/read_header.m' '/Users/robert/matlab/fieldtrip/fileio/compat/read_data.m' '/Users/robert/matlab/fieldtrip/preproc/compat/preproc_standardize.m' are being called by 'trialfun_example1.m' 'trialfun_example2.m' 'trialfun_trial.m' 'trialfun_twoclass_classification.m' according to 2 2 0 0 0 2 2 2 2 0 0 0 2 2 0 0 this means that trialfun_example1 calls the 1st and 2nd compat function, and that the trialfun_example2 calls the 2nd, 3rd and 4th compat functions. Compat functions should not be called by fieldtrip functions!


Robert Oostenveld - 2011-01-28 11:02:01 +0100

there are similar problems for '/Users/robert/matlab/fieldtrip/public/compat/checkconfig.m' '/Users/robert/matlab/fieldtrip/public/compat/hastoolbox.m' '/Users/robert/matlab/fieldtrip/compat/channelselection.m' '/Users/robert/matlab/fieldtrip/fileio/compat/read_data.m' '/Users/robert/matlab/fieldtrip/fileio/compat/read_header.m' '/Users/robert/matlab/fieldtrip/fileio/compat/write_data.m' '/Users/robert/matlab/fieldtrip/fileio/compat/chantype.m' which are called by 'ft_realtime_average.m' 'ft_realtime_classification.m' 'ft_realtime_downsample.m' 'ft_realtime_fmriviewer.m' 'ft_realtime_headlocalizer.m' 'ft_realtime_heartratemonitor.m' 'ft_realtime_powerestimate.m' 'ft_realtime_selectiveaverage.m' 'ft_realtime_signalviewer.m' 'ft_realtime_topography.m'


Robert Oostenveld - 2011-01-28 11:03:12 +0100

Created attachment 22 helper function for dependencies


Robert Oostenveld - 2011-01-28 11:03:48 +0100

See http://fieldtrip.fcdonders.nl/development/compat for a description how to use this function to detect the problems


Robert Oostenveld - 2011-03-31 14:13:58 +0200

changed the status of most recently resolved/fixed bugs into "CLOSED"