LIMO-EEG-Toolbox / limo_tools

Hierarchical Linear Modelling for MEEG data
https://limo-eeg-toolbox.github.io/limo_meeg/
Other
59 stars 27 forks source link

Error messages during model parameter estimate #25

Closed r91522831 closed 5 years ago

r91522831 commented 5 years ago

I tried to follow the LIMO tutorial materials I got from the 2018 San Diego workshop. When I ran Study >> LIMO Beta >> Estimate Model Parameters (channel) as instructed in the tutorial .pdf. Two error messages popped up after creating an empty folder 'derivatives'. One of the messages is "undefined function or variable 'ft_warning'.", and the second message is "EEGLAB error in function std_limo() at line 176: Undefined function or variable 'chanlocname'."

I am using EEGLAB 15 and LIMO v2.0 with Matlab R2017b on a Macbook.

Is there a solution to fix the issue? Thank you.

CPernet commented 5 years ago

undefined function or variable 'ft_warning'." indicates that Field Trip is not installed -- strange enough the study function from eeglab should have handled that @nucleuscub ; download via the plugin manager and this should work

r91522831 commented 5 years ago

Downloading via the plugin manager does not work. It makes the option "LInear MOdeling of EEG Data (BETA)" disappear from the "Study" drop-down list. Is this an EEGLAB issue?

CPernet commented 5 years ago

yes this is an EEGLAB issue -- have you tried with EEGLAB dev version (https://github.com/sccn/eeglab/tree/develop) pinging @arnodelorme @nucleuscub

r91522831 commented 5 years ago

I tried EEGLAB dev version. The LIMO downloaded via the plugin manager still does show the "LInear MOdeling of EEG Data (BETA)" option in the "Study" drop-down list.

The option shows up only when I manually put the limo_eeg-master cloned from here into the eeglab-develop/plugins folder. This time the error message becomes "std_limo error: Fieldtrip extension must be installed. (Error occurred in function std_limo() at line 128)."

Should I post a new issue at https://github.com/sccn/eeglab ?

CPernet commented 5 years ago

sure post it on the mailing list -- but the issue is that Fieldtrip is not installed ; if both LIMOEEG and Fieldtrip are there, it's no problem ; note that this is only to create the chanlocs automatically, and you can bypass this (I'll make that happen so STUDY can still run)

r91522831 commented 5 years ago

Thank you for the help. The working combination is using the EEGLAB dev version with the limo_eeg-master cloned from here plus the Fieldtrip installed. Also, the Fieldtrip folder path in MATLAB needs to be above the limo_eeg-master folder path. (Reopening EEGLAB messed up the path sequence automatically. The solution is to keep only the EEGLAB folder and Fieldtrip folder with all paths for EEGLAB and Fieldtrip subfolders removed.)