Expected dtype object, got 'numpy.dtype[float64]'

  • MNE-Python version: 0.23
  • operating system: win10
bids_path = BIDSPath(subject=subject_id, task='test',
                     root=settings_eeg.bids_root_path_init(),
                     session='5',datatype='eeg',suffix='eeg')

raw = read_raw_bids(bids_path=bids_path,
                    extra_params=dict(preload=True,eog=['EOG']))

I used read_raw_bids in the last few days. But it did not work today when I try to run the same code again. it rased the error"expected dtype object, got ‘numpy.dtype[float64]’". I have tried the read_raw_brainvision, it also didn’t work. anyone can help me fix this problem? or give me some suggestions? Appreciate in advance

Hey @XiaTaopsycho could you please post the full error message (the full traceback)