-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Proj id and proj name access #13261
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
base: main
Are you sure you want to change the base?
Proj id and proj name access #13261
Conversation
Hello! 👋 Thanks for opening your first pull request here! ❤️ We will try to get back to you soon. 🚴 |
for more information, see https://pre-commit.ci
This looks like it's headed in the right direction! If you look at one CI failure, you'll see:
I would suggest to modify Any new change would ideally include some changed test, could you modify Finally, we'll need a |
…rentLM/mne-python into proj_id-and-proj_name-access
for more information, see https://pre-commit.ci
Hi @larsoner, Thanks for your guidance, I'm very new to this. Still a bit confused as to why the test failed. I have added tests and contribution information, hopefully it's all in the right place and the right format. Let me know if not :-) |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
I think I am a bit stuck with this. I fail to understand why mne-python/mne/_fiff/meas_info.py Line 3501 in 68b5523
It would make more sense to me to set it as 0 (as an integer), the same way as subject_info["id"] is anonymized.
|
Reference issue
Fixes #13252.
What does this implement/fix?
Allows user to set
proj_id
andproj_name
through direct dict access.Ensures that
proj_id
is either an integer or None.Ensures that
proj_name
is either a string or None.Additional information
Example: