Back to the main page.

Bug 2330 - ft_appenddata unnecessarily removes sens information

Status CLOSED FIXED
Reported 2013-10-22 14:28:00 +0200
Modified 2014-01-29 13:28:46 +0100
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to: Eelke Spaak
URL:
Tags:
Depends on:
Blocks:
See also:

Eelke Spaak - 2013-10-22 14:28:56 +0200

At line 154: if numel(sens{j}.chanpos) ~= numel(sens{1}.chanpos) || any(sens{j}.chanpos(:) ~= sens{1}.chanpos(:)), since NaN ~= NaN, a chanpos with nans will result in the sens being removed. Simple fix: replace the check with isequalwithequalnans(sens{j}, sens{1}). Will fix this now.


Eelke Spaak - 2013-10-22 14:39:57 +0200

fixed in 8623


Eelke Spaak - 2014-01-29 13:28:46 +0100

changing lots of bugs from resolved to closed.