-
Notifications
You must be signed in to change notification settings - Fork 92
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
MNE-BIDS Inspector modifies raw data – should we stop doing this? #805
Comments
related: bids-standard/bids-specification#761 I think the best way would be to allow control over this via a parameter, but at the same time have the default from your point 2:
|
to me we should update the sidecar files only. They store what is the
closest to the truth and the raw
data should not be altered.
my 2c
… |
I can live with either approach. I'm sensing that @sappelhoff is leaning towards "modify the raw too to keep it in sync with the sidecars, unless this turns out to be super tricky", right? 😅 |
right :-) |
Reconciliation attempt: when the user closes the Inspector and has modified the data, ask whether to save the changes to both raw & sidecars or to save to sidecars only. We already have a dialog box, maybe I can simply add a checkbox or something. Thoughts? |
Would be fine with me 👍 |
Actually I was mistaken here, it appears we're NOT modifying raw data at all, only the sidecars. It would take a bit of effort and time to add support for updating the raw too. As I'm happy with just updating the sidecars, I'll just close this issue for now. |
During a discussion on data processing with @SophieHerbst, @crsegerie, and @agramfort we also talked about altering some metadata via the MNE-BIDS Inspector. Currently, it can be used to change the bad channel selection and annotations.
We're sometimes working with BIDS datasets that contain all sidecars, but the raw data is merely symlinked to the original (non-BIDS) data. In situations like these, one wouldn't want the Inspector to modify the raw, but only the respective sidecars when saving changes.
Now I looked into the code of the Inspector and we're actually always updating both, sidecars and raw data:
mne-bids/mne_bids/inspect.py
Lines 151 to 157 in 79c7889
Questions:
inspect_dataset()
to control thiscc @sappelhoff
The text was updated successfully, but these errors were encountered: