beacon-biosignals / EDF.jl

Read and write EDF files in Julia
MIT License
18 stars 5 forks source link

[Bugfix] add option to truncate values with size larger than spec #30

Closed OTDE closed 4 years ago

OTDE commented 4 years ago

This fixes a bug where certain Float32 values would have a string representation larger than 8 ASCII characters, since EDF stores by ascii instead of binary representation for numbers. God bless.

This is not a breaking change, but does add optional utility.

OTDE commented 4 years ago

Hold off on approving this, actually; it's finicky w/r/t floating point numbers + e notation.