Dear forum members,
I am curious about why mne_bids will change my events_id after saving raw data into BIDS. The structure is nice, which convenience my work, but the changed events_id make me doubt about the correctness of events_id.
Thank you and wish you a nice day!
hyijie
sappelhoff
(Stefan Appelhoff)
February 3, 2026, 9:36am
2
Hi! Could you produce a MWE to illustrate your point? With what you have reported here, it is difficult to understand what the issue is.
Dear Appelhoff,
Thank you for your interest! My detailed question is following:
here is my code. I want to use mne_bids.write_raw_bids to save my preprocessed data into BIDS.
Before transforming format into BIDS, I get events and event_id as following. The key value is correct as experimental program.
But after transforming, the key value of event_id will change. The events and event_id as following.
Thank you again for your kind help. I’m looking forward for your useful answer!
Best wishes,
Yijie