I started working on exporting the EDF Annotations, and probably found some errors there as well.
The first is simple -- if there are no standard channels, an if-statement skips the whole signal writing method, so a file with only annotation signals cannot be exported. I think its better to allow such files, since even official specs mention EDF files with only annotations in the introduction.
Additionaly, it seems there is something wrong with saving of the TALs. I tryed to create files using this library and my results were on the one hand readable with the library itself, but on the other hand displayed as "Annotations are not EDF+" in Polyman.
I started working on exporting the EDF Annotations, and probably found some errors there as well.
The first is simple -- if there are no standard channels, an if-statement skips the whole signal writing method, so a file with only annotation signals cannot be exported. I think its better to allow such files, since even official specs mention EDF files with only annotations in the introduction.
Additionaly, it seems there is something wrong with saving of the TALs. I tryed to create files using this library and my results were on the one hand readable with the library itself, but on the other hand displayed as "Annotations are not EDF+" in Polyman.