Help! 'read_epochs_eeglab'

I get the error: ā€œTypeError: ā€˜intā€™ object is not iterableā€.I am not sure where I could be making a mistake.
my mne version is 1.3.1
windows 11
these are my codes:
import mne
import numpy as np
import matplotlib.pyplot as plt
from scipy import stats
import pickle
import pymatreader
import mffpy
#single sub evoked
eeg1 = mne.io.read_epochs_eeglab(ā€˜1_LH.setā€™)

2 Likes

@lucas Hi, thanks for posting. I am not completely familiar with eeglab data. But just looking at the traceback that says the API doesnā€™t expect an intobject. Can you try rename your epochs file i.e., remove the ā€˜intā€™ (1) part and try to load the data again if that works? Note, I assume you have provided the full-path of your data file to load the data and not a part of it.

best,

Thanks for your reply, I try this way. But I also can not run the code! Itā€™s a pity! If the code donā€™t run ,I can not continue the flowling work.And my English is poor,so hope that you donā€™t mind!
best

Have you solved this problem

Iā€™m having a similar issue. Did you fix this?