Skip to content

Commit 7835d3f

Browse files
Update changelog for release
Plus fix test
1 parent e093c43 commit 7835d3f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# 0.0.6 2024-04-xx
1+
# 0.0.6 2024-04-24
22

33
- Only use NOSHUFFLE by default on ``call_genotype`` and bool arrays.
4+
- Add initial implementation of distributed encode
45

56
# 0.0.5 2024-04-17
67

tests/test_cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343

4444
DEFAULT_DENCODE_PARTITION_ARGS = dict()
4545

46+
DEFAULT_DENCODE_FINALISE_ARGS = dict(show_progress=True)
47+
4648

4749
class TestWithMocks:
4850
vcf_path = "tests/data/vcf/sample.vcf.gz"
@@ -443,7 +445,7 @@ def test_vcf_dencode_finalise(self, mocked, tmp_path):
443445
assert result.exit_code == 0
444446
assert len(result.stdout) == 0
445447
assert len(result.stderr) == 0
446-
mocked.assert_called_once_with(str(tmp_path))
448+
mocked.assert_called_once_with(str(tmp_path), **DEFAULT_DENCODE_FINALISE_ARGS)
447449

448450
@mock.patch("bio2zarr.vcf.convert")
449451
def test_convert_vcf(self, mocked):

0 commit comments

Comments
 (0)