Skip to content
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

Report section on original raw data doesn't contain bads #930

Closed
hoechenberger opened this issue Apr 23, 2024 · 9 comments · Fixed by #931
Closed

Report section on original raw data doesn't contain bads #930

hoechenberger opened this issue Apr 23, 2024 · 9 comments · Fixed by #931
Assignees

Comments

@hoechenberger
Copy link
Member

In my BIDS data, 3 channels are marked as bad. These show up correctly in the HTML repr for the filtered and cleaned raw, but not for the original raw. The content of the generated *_bads.tsv file is:

name	reason
P8	pre-existing (before MNE-BIDS-pipeline was run)
T7	pre-existing (before MNE-BIDS-pipeline was run)
TP10	pre-existing (before MNE-BIDS-pipeline was run)
Screenshot 2024-04-23 at 13 17 29 Screenshot 2024-04-23 at 13 17 34

I tried to understand what was going on but so far I don't really have a clue.

@hoechenberger
Copy link
Member Author

I also just realized that experimenter and participant are also not correctly represented in the "original" repr.

@hoechenberger
Copy link
Member Author

@SophieHerbst Do you see similar issues with your reports?

@larsoner
Copy link
Member

Are you fully up to date with your MNE version? If you're a couple weeks behind you might be hitting a bug that was in MNE for a bit

@larsoner
Copy link
Member

... Or if you generated those sections a couple of weeks ago could be same thing. Might be worth rerunning from scratch now to check

@larsoner
Copy link
Member

@hoechenberger
Copy link
Member Author

hoechenberger commented Apr 23, 2024

everything's up to date and i had deleted the outputs entirely...

will check again to be sure

@hoechenberger
Copy link
Member Author

mne-tools/mne-python#12548

that's not the problem, it is as of part of my raw.info is simply missing

@larsoner
Copy link
Member

Sounds like the bads just aren't being loaded from the sidecar then. I bet bads aren't displayed in the info repr if the list is empty. And they probably aren't defined in the raw on disk itself but rather in the sidecar file

@hoechenberger
Copy link
Member Author

Sounds like the bads just aren't being loaded from the sidecar then.

Yep that's it. Looking into this now. Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants