[FieldTrip] FieldTrip version

kousik sarathy sarathykousik at gmail.com
Tue Sep 8 12:41:14 CEST 2015


Hey Francois,

ft_version can be use to track the version of FT. I think it picks up the
function that has been most recently updated. Check 'signature.md5' in the
main FT directory.
Also, each of the output structure has a 'cfg.version' field which carries
the version of that particular function. You could use either which you
need.

--
Regards,
Kousik Sarathy, S


On Fri, Sep 4, 2015 at 5:17 PM, François Tadel <francois.tadel at mcgill.ca>
wrote:

> Hello,
>
> We're currently writing wrappers to call FieldTrip functions from the
> Brainstorm pipeline editor.
> For bookkeeping, we would like to save in the database the version of
> FieldTrip that was used to create the files.
>
> I'm having trouble with the function ft_version:
>     >> [ftver, ftpath] = ft_version
>     Reference to non-existent element of a cell array.
>     Error in ft_version (line 155)
>             rev = rev{1}{1};
>
> The file signature.md5 contains the following text:
>     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>     <html><head>
>     <title>301 Moved Permanently</title>
>     </head><body>
>     <h1>Moved Permanently</h1>
>     <p>The document has moved <a href="
> http://www.fieldtriptoolbox.org/signature.md5">here</a>.</p>
>     </body></html>
>
> How can I get the version of FieldTrip in a reliable way?
>
> Thanks,
> Francois
>
> --
> François Tadel, MSc
> MEG / McConnell Brain Imaging Center / MNI / McGill University
> 3801 rue University, Montreal, QC H3A2B4, Canada
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20150908/bee47ee5/attachment-0002.html>


More information about the fieldtrip mailing list