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

  • MNE-Python version: 0.23
  • operating system: win10
bids_path = BIDSPath(subject=subject_id, task='test',

raw = read_raw_bids(bids_path=bids_path,

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)