Back to the main page.

Bug 2038 - bugs in fieldtrip2fiff

Status CLOSED DUPLICATE
Reported 2013-03-09 12:28:00 +0100
Modified 2019-08-10 12:03:16 +0200
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P3 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Hamid - 2013-03-09 12:28:18 +0100

When I run fieldtrip2fiff, I get this error: ??? Undefined function or variable 'fsample'. Error in ==> fieldtrip2fiff at 61 info.sfreq = fsample; This is because fsample hasn't been defined before, but not that info.sfreq contains the sampling frequency and it seems there is no need to be set. I commented info.sfreq = fsample in line 61, I get this error: ??? Undefined variable dataout. Error in ==> fieldtrip2fiff at 62 if info.nchan ~= size(dataout{1},1); This is because dataout hasn't been defiend in the code. Again I commented that 'if' in line 62. It seems OK, and I can read it with other softwares like spm, but the problem is that I cannot read the file with fieldtrip any more. The 'data' I used here was continuous and not epoched data.


Robert Oostenveld - 2013-03-09 12:32:13 +0100

Hi Hamid, Can you please check that the solution to bug 2036 not already solves it? Robert *** This bug has been marked as a duplicate of bug 2036 ***


Hamid - 2013-03-09 12:36:39 +0100

(In reply to comment #1) Yes, it is duplicate of that, but note that I updated svn today and got these erros. Please also make sure you can read the converted fiff files again using fieldtrip Thanks


Robert Oostenveld - 2019-08-10 12:03:16 +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.