Closed hanslovsky closed 3 years ago
This is a side effect of JSON's limited type system where floating point and integer numbers are the same. I have tried to remedy this by value based inference with https://github.com/saalfeldlab/n5/commit/94c579a23f275eebcff24f8fe5da7741e5b444bc but that will lead to integer numbers always coming out as long
. For the JSON based backends (Zarr, N5), this is not relevant, but it may confuse in HDF5. I am considering String
based reasoning such that at it's possible to enforce double numbers by including a decimal point. A follow up release of N5 will make this situation better and this project will consume this release, so I am closing the issue in anticipation.
Steps to reproduce:
See
Copy.copyAttributes