Closed mscheltienne closed 3 years ago
Never mind... should have run that on the dev version. It works, so probably already fixed. Probably in #9404.
Argh I thought we backported that but we didn't. If we end up wanting another point release before cutting 0.24 in early Nov then we should include #9404. Thanks for investigating @mscheltienne
@larsoner It might have been backported, I didn't check and the environment I was running was probably with 0.23.0.
I checked, it was not https://github.com/mne-tools/mne-python/blob/maint/0.23/mne/io/base.py#L1763
I had this minor bug a couple of times already, and aside from being annoying, it's harmless. When representing a created
mne.io.RawArray
in the IPython console, it raises a TypeError... before giving the correct representation.Call representation:
A normal
Raw
object loaded from disk does not raise any error:Just guessing that since
stim_ch.filenames
is equal to(None,)
, something breaks in the representation method ofBaseRaw
.