Back to the main page.

Bug 1950 - trackconfig gets confused with other cfg

Status ASSIGNED
Reported 2013-01-23 15:25:00 +0100
Modified 2015-02-11 10:43:28 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P3 minor
Assigned to: Robert Oostenveld
URL:
Tags:
Depends on:
Blocks:
See also: http://bugzilla.fcdonders.nl/show_bug.cgi?id=2832

Robert Oostenveld - 2013-01-23 15:25:45 +0100

If I do the following ---------------- restoredefaultpath addpath(pwd) clear ft_defaults ft_defaults global ft_default ft_default ft_default.trackconfig = 'report' load avgFIC.mat cfg = []; cfg.comment = 'test' out = ft_annotate(cfg, avgFIC) ---------------- the configuration tracking reports The following config fields were specified by YOU and were USED cfg.comment cfg.trackconfig cfg.checkconfig cfg.trackdatainfo The following config fields were specified by YOU and were NOT USED cfg.callinfo cfg.version cfg.showcallinfo cfg.trackcallinfo cfg.trackparaminfo The following config fields were set to DEFAULTS and were USED The following config fields were set to DEFAULTS and were NOT USED Only cfg.comment was really specified by me, so the configuration tracking is off. </p>

Robert Oostenveld - 2015-02-11 09:46:54 +0100

I wonder whether this is related with high-level functions calling each other, as in bug 2832.