Skip to content

Commit 89a126e

Browse files
Fixup du tests
1 parent 347d92c commit 89a126e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bio2zarr/vcf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2056,8 +2056,7 @@ def get_max_encoding_memory(self):
20562056
"call_genotype_mask",
20572057
]
20582058
gt_mem = sum(
2059-
self.schema.fields[col].variant_chunk_nbytes
2060-
for col in encoded_together
2059+
self.schema.fields[col].variant_chunk_nbytes for col in encoded_together
20612060
)
20622061
return max(max_encoding_mem, gt_mem)
20632062

tests/test_core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ def test_5_chunk_1(self, n, expected):
188188
# It *might* work in CI, but it may well not either, as it's
189189
# probably dependent on a whole bunch of things. Expect to fail
190190
# at some point.
191-
("tests/data", 4630726),
192-
("tests/data/vcf", 4618589),
191+
("tests/data", 4960266),
192+
("tests/data/vcf", 4948129),
193193
("tests/data/vcf/sample.vcf.gz", 1089),
194194
],
195195
)

0 commit comments

Comments
 (0)