Skip to content

Commit 3dca18e

Browse files
benjefferyjeromekelleher
authored andcommitted
Update du sizes in tests
1 parent 5439661 commit 3dca18e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ dependencies = [
1515
# across numpy 1 and 2 (due to pickle format)
1616
"numpy >= 1.26",
1717
"zarr >= 2.17,< 3",
18+
# Pinning numcodecs due to https://github.com/zarr-developers/zarr-python/issues/2963
19+
"numcodecs[msgpack]!=0.14.0,!=0.14.1,<0.16",
1820
"click",
1921
"tabulate",
2022
"tqdm",

tests/test_vcf_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ def test_split_explode(tmp_path):
11051105
pcvcf = vcf2zarr.IntermediateColumnarFormat(out)
11061106
summary_d = pcvcf.fields["POS"].vcf_field.summary.asdict()
11071107
# The compressed size can vary with different numcodecs versions
1108-
assert summary_d["compressed_size"] == 571 or summary_d["compressed_size"] == 587
1108+
assert summary_d["compressed_size"] in [571, 573, 587]
11091109
del summary_d["compressed_size"]
11101110
assert summary_d == {
11111111
"num_chunks": 3,

0 commit comments

Comments
 (0)