# How to concat a LOT of EDF files with annotations?

**URL:** https://mne.discourse.group/t/how-to-concat-a-lot-of-edf-files-with-annotations/4246
**Category:** Support & Discussions
**Tags:** eeg, data-import
**Created:** [January 11, 2022, 1:11am UTC](https://mne.discourse.group/t/how-to-concat-a-lot-of-edf-files-with-annotations/4246 "2022-01-11T01:11:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Scolpy](https://avatars.discourse-cdn.com/v4/letter/s/919ad9/32.png) [@Scolpy](https://mne.discourse.group/u/Scolpy)
#### Post date: [January 11, 2022, 1:11am UTC](https://mne.discourse.group/t/how-to-concat-a-lot-of-edf-files-with-annotations/4246/1 "2022-01-11T01:11:46Z")

</div>

I have a ton of raw EEG EDF files loaded in MNE along with annotations specific to each file (Several thousand at a time).

Any suggestions on how can I combine these EDF files and still retain the annotations? A couple of methods I tried so far seem to drop the annotations.

---

<div class="post-metadata">

### Author: ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)
#### Post date: [January 11, 2022, 7:53am UTC](https://mne.discourse.group/t/how-to-concat-a-lot-of-edf-files-with-annotations/4246/2 "2022-01-11T07:53:19Z")

</div>

can you clarify your usecase?

what did you try?

mne.concatenate\_raws drops annotations? if so it’s a bug

Alex
