Back to the main page.

Bug 2212 - reading egi .raw data with no events not possible with ft_read_header

Reported 2013-06-26 14:45:00 +0200
Modified 2018-11-20 12:11:52 +0100
Product: FieldTrip
Component: fileio
Version: unspecified
Hardware: PC
Operating System: Linux
Importance: P3 normal
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

IV - 2013-06-26 14:45:14 +0200

When I try to read an EGI .raw file with ft_read_header I get an error saying 'undefined variable 'EventCodes' in read_sbin_header.m because there are no events in the data (NEvent line 101 is 0 and therefore no EventCodes are created). Steps to reproduce the error: read an egi .raw file with ft_read_header I used the latest version of fieldtrip. I hope this bug report is clear enough, this is the first time that I report a bug here. Let me know if you need example data or additional information. Best, Ilse

German Gomez-Herrero - 2013-08-14 11:55:49 +0200

*** Bug 2250 has been marked as a duplicate of this bug. ***

Jörn M. Horschig - 2014-01-29 17:04:55 +0100

Hi, could you upload a small snippet of data? if it exceeds a few mb, maybe better use a filehoster

Jan-Mathijs Schoffelen - 2018-11-20 11:42:26 +0100

No activity here for a while. Lacking example data to reproduce, it's probably OK to close it (for now).