New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Argument picks
of method AutoReject.get_reject_log(self, epochs, picks=None)
is not used.
#226
Comments
What do you think should be the intended behavior? Say you did ar = Autoreject(picks=picks_train)
ar.fit(epochs_train)
ar.get_reject_log(epochs_test, picks_test) Use |
@jasmainak I have no idea. I never used it and I don't know what it's supposed to do. I just noticed that the argument of the function is not used at all; which is definitely not normal. I will probably give it a try in the coming weeks, but for now, as I never used it, I can't help you figure out what was the intended behavior. I did notice that in the class |
Maybe @dengemann can help us figure out what's going on with the |
I have to wrap my head around this ... I think we wrote this ~4 years ago. The general purpose of picking is that you can apply autoreject sequentially on MEG/EEG channels present in one recording but also exclude channels. The |
Any way you put it, the fact you are asking an argument to the user; to then throw it into the trash looks very suspicious ;) |
As spotted in PR #225, line 1042 to 1087 in
autoreject.py
:picks
is not used; insteadself.picks_
is used.The text was updated successfully, but these errors were encountered: