AW: [FIELDTRIP] AW: [FIELDTRIP] paths to connectivity function

Jan Hirschmann Jan.Hirschmann at MED.UNI-DUESSELDORF.DE
Tue Nov 23 13:44:07 CET 2010


Hi,

 

the problem was that in my startup file I add spm8 to the search path
which has its own fieldtrip. I should have used rmpath(genpath(...)) to
remove this fieldtrip but I only used rmpath(...). So it was my mistake,
sorry. In this context I wonder about the function fieldtripdefs. For
example, when spm8 is not on the path, it checks for the package with
ft_hastoolbox(spm8). The function returns an error message telling the
user that spm8 is not installed. However, the error message is never
displayed because ft_hastoolbox comes after a try statement. 

 

Best,

jan

 

________________________________

Von: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] Im
Auftrag von jan-mathijs schoffelen
Gesendet: Dienstag, 23. November 2010 11:21
An: FIELDTRIP at NIC.SURFNET.NL
Betreff: Re: [FIELDTRIP] AW: [FIELDTRIP] paths to connectivity function

 

It seems as if ft_hastoolbox fails there (and does so unnoticed due to
the try and catch statements). Could you check what happens if you
comment out the try and catch?

 

Thanks,

 

JM

 

PS: for me it still works

 

 

On Nov 23, 2010, at 10:45 AM, Jan Hirschmann wrote:





Dear Jan-Mathijs,

 

I think I am. According to Matlabs which function at least, and the code
you are relating to is at line 112 in my function, too.

 

Best,

jan

 

________________________________

Von: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] Im
Auftrag von jan-mathijs schoffelen
Gesendet: Dienstag, 23. November 2010 10:30
An: FIELDTRIP at NIC.SURFNET.NL
Betreff: Re: [FIELDTRIP] paths to connectivity function

 

Dear Jan,

 

Thanks for letting us know. As far as I can see, the function
fieldtripdefs tries to add the connectivity folder to the path (line 112
of version 2017). Are you sure you are using the most recent
fieldtripdefs function?

 

Best,

 

JM

 

On Nov 23, 2010, at 10:20 AM, Jan Hirschmann wrote:

 






Dear fieldtrip developers,

 

I have just installed the newest version as outlined on your website
(addpath without genpath and calling fieldtripdefs, old paths removed).
I noticed that calling ft_connectivityanalysis with method "coh" now
results in the error

 

??? Undefined function or method 'univariate2bivariate' for input
arguments of type 'struct'.

 

It is overcome by manually adding the folder connectivity to the search
path. Maybe fieldtripdefs does not include the connectivity functions
correctly?

 

Best,

jan

 

Jan Hirschmann

MSc. Neuroscience

Insititute of Clinical Neuroscience and Medical Psychology

Heinrich Heine University Duesseldorf

Universitaetsstr.  1
40225  Duesseldorf

Tel: 0049 - (0)211 - 81 - 18076

 

------------------------------------------------------------------------
--- You are receiving this message because you are subscribed to 
the FieldTrip list. The aim of this list is to facilitate the discussion

between users of the FieldTrip toolbox, to share experiences 
and to discuss new ideas for MEG and EEG analysis. 
See also http://listserv.surfnet.nl/archives/fieldtrip.html 
and http://www.ru.nl/neuroimaging/fieldtrip.
------------------------------------------------------------------------
---

 

Dr. J.M. (Jan-Mathijs) Schoffelen 

Donders Institute for Brain, Cognition and Behaviour, 
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands

J.Schoffelen at donders.ru.nl

Telephone: 0031-24-3614793

 

------------------------------------------------------------------------
--- You are receiving this message because you are subscribed to 
the FieldTrip list. The aim of this list is to facilitate the discussion

between users of the FieldTrip toolbox, to share experiences 
and to discuss new ideas for MEG and EEG analysis. 
See also http://listserv.surfnet.nl/archives/fieldtrip.html 
and http://www.ru.nl/neuroimaging/fieldtrip.
------------------------------------------------------------------------
---

------------------------------------------------------------------------
--- You are receiving this message because you are subscribed to 
the FieldTrip list. The aim of this list is to facilitate the discussion

between users of the FieldTrip toolbox, to share experiences 
and to discuss new ideas for MEG and EEG analysis. 
See also http://listserv.surfnet.nl/archives/fieldtrip.html 
and http://www.ru.nl/neuroimaging/fieldtrip.
------------------------------------------------------------------------
---

 

Dr. J.M. (Jan-Mathijs) Schoffelen 

Donders Institute for Brain, Cognition and Behaviour, 
Centre for Cognitive Neuroimaging,
Radboud University Nijmegen, The Netherlands

J.Schoffelen at donders.ru.nl

Telephone: 0031-24-3614793

 

------------------------------------------------------------------------
--- You are receiving this message because you are subscribed to 
the FieldTrip list. The aim of this list is to facilitate the discussion

between users of the FieldTrip toolbox, to share experiences 
and to discuss new ideas for MEG and EEG analysis. 
See also http://listserv.surfnet.nl/archives/fieldtrip.html 
and http://www.ru.nl/neuroimaging/fieldtrip.
------------------------------------------------------------------------
---


---------------------------------------------------------------------------
You are receiving this message because you are subscribed to
the  FieldTrip list. The aim of this list is to facilitate the discussion
between  users of the FieldTrip  toolbox, to share experiences
and to discuss  new ideas for MEG and EEG analysis.
See also http://listserv.surfnet.nl/archives/fieldtrip.html
and http://www.ru.nl/neuroimaging/fieldtrip.
---------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20101123/d616f37e/attachment.html>


More information about the fieldtrip mailing list