Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pop_runica EEG structure mis-named #19

Closed
zenBen opened this issue May 25, 2019 · 1 comment
Closed

pop_runica EEG structure mis-named #19

zenBen opened this issue May 25, 2019 · 1 comment

Comments

@zenBen
Copy link

zenBen commented May 25, 2019

Description

The EEG data structure is given the wrong name 'data' on line 357 of pop_runica
Variable 'data' is not defined and the function thus throws an error, as below.

`Undefined variable "data" or class "data.chanlocs.type".

Error in pop_runica (line 357)
datatype = {data.chanlocs.type};`


#### Steps to Reproduce
  1. Run ICA from a script using FastICA option

#### Expected behavior: pop_runica will compute ICA and create ICA matrices in the EEG structure
#### Actual behavior: pop_runica throws 'undefined vairable "data"' error.
#### Versions
OS version Debian Linux
Matlab version r2019a
EEGLAB version development / latest from github
@nucleuscub
Copy link
Member

Thank for the detailed report, we have corrected the name of the variable. See commit here.
R

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants