eeglab
eeglab copied to clipboard
pop_runica fails to find installed plugin AMICA due to faulty existence test
Description
In EEGLAB dev, pop_runica tests for existence of files named as per the list of algorithm names (lines 157 - 161).
for index = length(allalgs):-1:1
if ~exist(allalgs(index).name, 'file')
allalgs(index) = [];
end
end
-
Algorithm names are given in the
allalgsstructure (lines 111 - 154), this contains about 29 algorithm names, includingamica. -
AMICA 1.7 installed via plugin manager does not contain any file named
amica. -
Thus, the
pop_runicacode above produces a list of available algorithms that doesn't match reality.
#### Steps to Reproduce
- Install EEGLAB dev
- Install AMICA 1.7 plugin
- try to run ICA on a dataset using method AMICA
#### Expected behavior: AMICA is performed on EEG data
#### Actual behavior: `pop_runica` fails
#### Versions
| OS version | [fill in] |
| Matlab version | [fill in] |
| EEGLAB version | [fill in] |