Blosc / Blosc/python-blosc2

ALWAYS_SPLIT seems necessary for ZFP

未关闭
#338 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
211
派生
62
平均合并
1 天 17 小时
30 天内合并 PR
6

描述

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`, which is the new default after [this discussion](https://github.com/Blosc/python-blosc2/discussions/337).

Perhaps this is due to the design of the test, but while we can investigate more, they are set explicitly in the test to `ALWAYS_SPLIT`.

贡献指南

打开贡献指南

调研方向

首先运行 tests/ndarray/test_lossy.py 中失败的两个用例,并检查其中如何配置 splitmode。将 AUTO_SPLIT 与显式的 ALWAYS_SPLIT 设置进行比较,然后确定失败是源于测试设计还是实现。确定原因,并使受影响的测试在预期的拆分模式下正确运行,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
data
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。