Issues loading fieldtrip data with MNE python

External Email - Use Caution

Hello Everyone,
I am having challenges loading fieldtrip data with MNE python. When I enter the code below:


import mne
original_data = mne.io.read_raw_fif('data.fif', preload=False)
original_info = original_data.info
data_from_ft = mne.read_epochs_fieldtrip('data.mat', original_info)

I get this error:


TypeError: only size-1 arrays can be converted to Python scalars

Could someone please help me with what I might be doing wrong.

Kind Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200802/5d13c829/attachment-0001.html

External Email - Use Caution

Can you try and comment on:

https://github.com/mne-tools/mne-python/pull/8075

Eric