[FieldTrip] Error in source model

Schoffelen, J.M. (Jan Mathijs) jan.schoffelen at donders.ru.nl
Mon Dec 12 08:40:39 CET 2016


I don’t know about SUMA. This looks as if it’s a low-level reading error, which does not have anything to do with FieldTrip.
The error message suggests that the gifti-reading function cannot handle the files.
Have you asked Christoph?

Best,
Jan-Mathijs


J.M.Schoffelen
Senior Researcher, VIDI-fellow
Donders Centre for Cognitive Neuroimaging, Nijmegen, The Netherlands



On 11 Dec 2016, at 18:42, Merve Kaptan <mervekaptan5 at gmail.com<mailto:mervekaptan5 at gmail.com>> wrote:

Hello dear FieldTrip users,

I have a problem in source modeling.
I get my Suma processed anatomical files


>file_LH = fullfile(SubjectDir,'std.10.lh.white.gii) ;
>file_RH= fullfile(SubjectDir,'std.10.rh.white.gii');

file_LH =            C:\Users\Christoph\Documents\MATLAB\forHilola\data\vp01-fs\bem\SUMA\std.10.lh.white.gii
(same for Right hemisphere)

And then I simply want to read headshape


 >sourcespace_S_SUMA = ft_read_headshape({file_LH file_RH}, 'format', 'gifti');

But it gives this error message
error message:
Error using read_gifti_file (line 17)
[GIFTI] Loading of XML file C:\Users\Christoph\Documents\MATLAB\forHilola\data\vp01-fs\bem\SUMA\std.10.lh.white.gii
failed.

Error in gifti (line 68)
                this = read_gifti_file(varargin{1},giftistruct);

Error in ft_read_headshape (line 289)
    g = gifti(filename);

Error in ft_read_headshape (line 93)
    tmp       = ft_read_headshape(filename{i}, varargin{:});


I checked the directory and everything, so should not be a problem.  Any help would be appreciated!
Thank you very much!

Hilola Hakimova,
Tuebingen MEG center
_______________________________________________
fieldtrip mailing list
fieldtrip at donders.ru.nl<mailto:fieldtrip at donders.ru.nl>
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20161212/147eb013/attachment-0002.html>


More information about the fieldtrip mailing list