biocore / biom-format

The Biological Observation Matrix (BIOM) Format Project
http://biom-format.org
Other
89 stars 95 forks source link

More gracefully deal with not-perfectly-integer inputs #938

Closed sfiligoi closed 9 months ago

sfiligoi commented 11 months ago

The input data is supposed to be integer, but it is represented using fp64. If the elements are not precisely integer, the previous logic would fail, possibly leading to data corruption. The new version enforces the integer constraint.

wasade commented 11 months ago

Thanks!! Could a note be added to the change log?

wasade commented 9 months ago

Great, thank you!!!