-
Notifications
You must be signed in to change notification settings - Fork 68
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
Logger reports subject, session, run even if not requested #804
Comments
This is by design, it's much more helpful than it is harmful. It fixed a ton of cases where we didn't include information we should have |
@larsoner Yep I can see that! |
Yes just |
Let's please keep this open as a reminder. There are still several places where this incorrect kind of logging is happening. I will look into this when I have time. |
I'm seeing the following output during
preprocessing/run_ica
:As you can see, the messages are grouped under
run-08
.The logs are generated here:
mne-bids-pipeline/mne_bids_pipeline/steps/preprocessing/_06a_run_ica.py
Lines 406 to 418 in 4f5e465
No
run
parameter is passed togen_log_kwargs()
But there's still an old
run
variable loitering around by the time we callgen_log_kwargs(),
and it seems the function then pulls it from the stack and uses it:mne-bids-pipeline/mne_bids_pipeline/_logging.py
Lines 113 to 124 in 4f5e465
Only solution for me for now was to add
del run
before the call togen_log_kwargs()
; then I get the correct output:The text was updated successfully, but these errors were encountered: