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
write_raw_bids does not take into account changes in raw.info? #357
Comments
The original files are in fact copied over because we don't have a writer for CTF data. Only the sidecar metadata files are updated. I thought there was a warning somewhere? But if not, we should add one. So, in theory, if you read back the file using |
I see, hence events/annotations are also not made in the data - you get them only with On a sidenote, one should not use |
So age and sex are written to the
I see, fix for this would also be welcome! It's best if you make an attempt since you are working with the data and can confirm that it works. |
yes, thanks for reporting this @hstojic ... indeed, the users working with the actual data are best to suggest fixes :-) |
Ok, will give it a try!
For this I guess there is no fix, just amending the documentation to be careful when using CTF data, right? Where can I amend the docs? |
Do we know enough about the situation to say that there can't be a fix? This is the function that gets called when perhaps it can be fixed (but maybe not) 🤷♂️ I would encourage you to investigate. This thread could be 2 PRs:
|
closed in #392 |
Describe the bug
I load my CTF data as instructed and change some raw.info data but when the data is written these changes are not saved. I'm not sure this is a desired behaviour. I'm using version 0.3.
Steps to reproduce
Expected results
If I load again the file I have just saved I would expect
raw.info
to reflect the changes I have done.Actual results
Old data, before my changes, is preserved.
Additional information
Platform: Linux-4.11.0-14-generic-x86_64-with-Ubuntu-16.04-xenial
Python: 3.5.2 (default, Nov 12 2018, 13:43:14) [GCC 5.4.0 20160609]
Executable: /home/hstojic/.pyenv/meg3/bin/python3
CPU: x86_64: 16 cores
Memory: Unavailable (requires "psutil" package)
mne: 0.18.2
numpy: 1.16.4 {blas= language = c, lapack= language = c}
scipy: 1.3.0
matplotlib: 3.0.3 {backend=TkAgg}
sklearn: 0.21.2
nibabel: 3.0.1
mayavi: Not found
cupy: Not found
pandas: 0.24.2
dipy: Not found
The text was updated successfully, but these errors were encountered: