Back to the main page.

Bug 2561 - ft_selectdata and getdimord

Status CLOSED DUPLICATE
Reported 2014-05-05 23:03:00 +0200
Modified 2019-08-10 12:29:39 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P5 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also: http://bugzilla.fcdonders.nl/show_bug.cgi?id=2563

Raghavan Gopalakrishnan - 2014-05-05 23:03:03 +0200

There seems to be a problem with ft_selectdata at line 164 (or somewhere before) when getdimord is called. 164: dimord{i} = getdimord(varargin{1}, datfield{i}); My data is as follows, varargin{1} ans = individual: [7x204x1500 double] time: [1x1500 double] label: {204x1 cell} dimord: 'subj_chan_time' cfg: [1x1 struct] However, datfield is not recognizing it. datfield = 'individual' 'time' First issue is at line 164, datfield is not carrying the field dimord. Secondly, getdimord is not recognizing 'individual' field. It seems to recognize 'avg' field. it returns 'unknown_unknown_unknown'


Raghavan Gopalakrishnan - 2014-05-05 23:08:25 +0200

I reverted back to old version of fieldtrip 04042013. ft_select_data seems to work fine, though it has ft_selectdata_old and ft_selectdata_new subfunctions. So, the problem is in the newer version.


Robert Oostenveld - 2014-05-07 16:14:00 +0200

this is due to the same problem as reported elsewhere, hence I'll mark it as duplicate. *** This bug has been marked as a duplicate of bug 2563 ***


Robert Oostenveld - 2019-08-10 12:29:39 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on https://github.com/fieldtrip/fieldtrip/issues.