Back to the main page.

Bug 1116 - ft_prepare_headmodel incorrect handling of defaults

Status CLOSED FIXED
Reported 2011-11-04 10:04:00 +0100
Modified 2012-06-12 13:02:58 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Cristiano Micheli
URL:
Tags:
Depends on:
Blocks:
See also:

Jan-Mathijs Schoffelen - 2011-11-04 10:04:00 +0100

line 139-145 dealing with cfg.conductivity. This is not an option that is used for all methods, if it is now defined in its default (empty) the function crashes, if the data does not contain a cond field


Cristiano Micheli - 2011-11-17 14:51:28 +0100

The lines have been modified (plus the method specific defaults have been deleted). This means that the function checks if the data has a cond field before updating the conductivity option.