exporting to EDF+

Dear all,
I am using the following config:

  • MNE-Python version: β€˜0.24.dev0’
  • operating system: 10

I have annotated an EEG signal and would like to export it to edf+ format. I have searched the latest development version and used the export method on my raw instance as follows:
raw.export(eeg.fname.split(".")[0]+".edf")
but when I re-read it from the disk the annotations have been set to wrong positions at the start of the recording.

Is it because there is problem in exporting the data in edf+ format?
I would appreciate it if someone could help me fix this issue.

Hello, this seems like a bug to me, can you please open an issue in GitHub and post the link here for reference?

Thanks

I have opened the issue with the following reference:

β€œRaw annotations incorrectly exported to EDF” (#9730)

This should have been solved by https://github.com/mne-tools/mne-python/pull/9694 – @mehdikuchi can you check if you can now read your data/annotations correctly?

Yes it works as expected now.
Thank you all