Use pick
method instead of pick_channels
as it is now an MNE legacy function
#118
Labels
pick
method instead of pick_channels
as it is now an MNE legacy function
#118
Running the pipeline with a recent version of MNE (e.g., 1.4) prints the following warning a couple of times:
To resolve this, it should be enough to replace all
something.pick_channels(...)
calls withsomething.pick(...)
. Apparently, the standalone function (not the method)mne.pick_channels
remains okay and does not need to be changed.The new
pick
method is available since MNE 0.24, so it should be fairly safe to use since probably nobody using the pipeline will be on an older MNE version.The text was updated successfully, but these errors were encountered: