Skip to content

Problem with mne.io.read_epochs_eeglab  #11227

Closed

Description

@cmphil13

Sorry if I am doing this wrong, this is my first time posting on github!

I am running into an error when importing my data with read_epochs_eeglab. On line 150 of eeglab.py (within the function get_montage_information):

for item in list(zip(*eeg.chaninfo['nodatchans'].values())):

I get the error: "TypeError: 'float' object is not iterable".

image

It looks like the format of the reference channel within the data file is incorrect somehow, but I am just directly importing the .set with read_epochs_eeglab so I am not sure where I could be making a mistake. eeg.chaninfo['nodatchans'] looks like:

image

Any help would be greatly appreciated!

Activity

  1. welcome commented on Oct 6, 2022

    @welcome

    Hello! 👋 Thanks for opening your first issue here! ❤️ We will try to get back to you soon. 🚴🏽‍♂️

  2. agramfort commented on Oct 6, 2022

    @agramfort
    SponsorMember
  3. drammock commented on Oct 6, 2022

    @drammock
    Member

    questions like this are better suited for our users forum, https://mne.discourse.group

    The GitHub issue tracker is for bug reports and feature requests, see https://mne.tools/stable/overview/get_help.html

    Please post this question to the forum, and include a link to the problematic file.

  4. cmphil13 commented on Oct 6, 2022

    @cmphil13
    Author

    Will do, thank you for the prompt response!

  5. INRING commented on Apr 21, 2023

    @INRING

    I also have the problem, do you solve it?

  6. locked as resolved and limited conversation to collaborators on Apr 21, 2023
  7. drammock commented on Apr 21, 2023

    @drammock
    Member

    I also have the problem, do you solve it?

    @INRING please read my previous response on this issue. To get help with problems like this one:

    1. use our forum, not our GitHub issue tracker
    2. include a link to the problematic file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions