You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code above will fail with raw.save I think. We should validate the info["subject_info]" dict like we do for Info. There are maybe some other info fields we should protect at some point but maybe YAGNI and subject_info seems like a clearly good target since we know people change it.
We should also document that it can be changed if we don't already. I think in the docstring of Info we do list what is considered user-modifiable and what is not, but I need to look.
The text was updated successfully, but these errors were encountered:
Adapted from code by @thht in mne-tools/mne-bids#1310 (comment)
The code above will fail with
raw.save
I think. We should validate theinfo["subject_info]"
dict like we do forInfo
. There are maybe some otherinfo
fields we should protect at some point but maybe YAGNI andsubject_info
seems like a clearly good target since we know people change it.We should also document that it can be changed if we don't already. I think in the docstring of
Info
we do list what is considered user-modifiable and what is not, but I need to look.The text was updated successfully, but these errors were encountered: