I am following the tutorial to plot ERDS, but the dialog "Calculating ERDS maps..." takes forever... and never ends. This happens on W10 with 0.8.6 as well as un Ubuntu 20.04 with 0.8.5 and 0.8.0 (what I could test with my older python there). After some debugging I found out that there is an error upon execution of the underlying MNE command (an error hidden by the use of the dialog in the GUI). baseline appears to now be a tuple, and not a list anymore, at least with mne 1.4.0 that is installed on both my systems. If I change baseline=[dialog.b1, dialog.b2] to baseline=(dialog.b1, dialog.b2) in plot_erds now everything works fine. I also changed it in plot_erds_topomaps, even though I did not test this one.
The change is trivial but I guess you might need some workarounds to handle different MNE versions, and possibly this change is necessary in other parts of the tool -- which is very handy to get to know MNE :)
Hello,
I am following the tutorial to plot ERDS, but the dialog "Calculating ERDS maps..." takes forever... and never ends. This happens on W10 with 0.8.6 as well as un Ubuntu 20.04 with 0.8.5 and 0.8.0 (what I could test with my older python there). After some debugging I found out that there is an error upon execution of the underlying MNE command (an error hidden by the use of the dialog in the GUI).
baseline
appears to now be a tuple, and not a list anymore, at least with mne 1.4.0 that is installed on both my systems. If I changebaseline=[dialog.b1, dialog.b2]
tobaseline=(dialog.b1, dialog.b2)
inplot_erds
now everything works fine. I also changed it inplot_erds_topomaps
, even though I did not test this one.The change is trivial but I guess you might need some workarounds to handle different MNE versions, and possibly this change is necessary in other parts of the tool -- which is very handy to get to know MNE :)
Hope it helps!
Edit: the change in MNE might be circa https://github.com/mne-tools/mne-python/commit/64dff6189215cbead61db81d6e6de811a05633e3