You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing to EDF a signal with very high values (e.g. 1e9), the file gets created successfully, but it is an invalid EDF. This happens because pyedflib doesn't take into account overflow of the fixed number of ascii bytes used to write the physical max and min.
Before generating this situation, the signal should be validated and an exception should be raised.
The text was updated successfully, but these errors were encountered:
We could also change the code to use the more modern highlevel interface of pyedflib, it would slightly simplify things and maybe also solve this problem (but I'm not sure about that).
When writing to EDF a signal with very high values (e.g. 1e9), the file gets created successfully, but it is an invalid EDF. This happens because pyedflib doesn't take into account overflow of the fixed number of ascii bytes used to write the physical max and min.
Before generating this situation, the signal should be validated and an exception should be raised.
The text was updated successfully, but these errors were encountered: