python-blosc2
python-blosc2 copied to clipboard
At least these tests: ``` FAILED tests/ndarray/test_lossy.py::test_lossy[shape1-float64-cparams1-None-False] - RuntimeError: Error while creating the NDArray FAILED tests/ndarray/test_lossy.py::test_lossy[shape3-float32-cparams3-lossy.b2nd-False] - RuntimeError: Error while creating the NDArray ``` fail if "splitmode" is set to`AUTO_SPLIT`,...
Right now, they only work for 1-dim. This should be a major task.
And propagate it to NDArray.
``` (Pdb) p arr (Pdb) p arr[:] array([[[16., 16., 16., ..., 16., 16., 16.]], [[16., 16., 16., ..., 16., 16., 16.]], [[16., 16., 16., ..., 16., 16., 16.]], ..., [[16.,...
`blosc2` itself sets `-std=gnu99` in its own CMakeLists, however those are not used by `py-blosc2` when external `blosc2` is linked against. So the flag is not passed, but it is...
Add to `.pre-commit-config.yaml` to enforce that: ``` - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.13.0 hooks: - id: mypy files: "src" ```
The output data should be correct, however, some weird data are generated. ```python import blosc2 import numpy as np print(blosc2.__version__) print(np.__version__) dtype = { "names": ["a", "b", "c", "d", "e",...
``` fname_in = "kevlar.h5" # input file with the kevlar dataset # Re-open the HDF5 arrays f = h5py.File(fname_in, "r") mat = f["/entry/data/data"] # this works res = blosc2.lazyexpr("where(mat >...
updates: - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.14.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.3...v0.14.3)
Assigning result of a function call, where the function has no return