@@ -616,7 +616,7 @@ def test_vcf_convert_overwrite_zarr_confirm_no(self, mocked, tmp_path, response)
616
616
def test_convert_plink (self , mocked , progress , flag ):
617
617
runner = ct .CliRunner ()
618
618
result = runner .invoke (
619
- cli .plink2zarr , ["convert" , "in" , "out" , flag ], catch_exceptions = False
619
+ cli .plink2zarr_main , ["convert" , "in" , "out" , flag ], catch_exceptions = False
620
620
)
621
621
assert result .exit_code == 0
622
622
assert len (result .stdout ) == 0
@@ -651,7 +651,7 @@ def test_convert_tskit(self, mocked, tmp_path, progress, flag):
651
651
zarr_path = tmp_path / "zarr"
652
652
runner = ct .CliRunner ()
653
653
result = runner .invoke (
654
- cli .tskit2zarr ,
654
+ cli .tskit2zarr_main ,
655
655
f"convert { ts_path } { zarr_path } { flag } " ,
656
656
catch_exceptions = False ,
657
657
)
@@ -674,7 +674,7 @@ def test_tskit_convert_overwrite_zarr_confirm_yes(self, mocked, tmp_path, respon
674
674
zarr_path .mkdir ()
675
675
runner = ct .CliRunner ()
676
676
result = runner .invoke (
677
- cli .tskit2zarr ,
677
+ cli .tskit2zarr_main ,
678
678
f"convert { ts_path } { zarr_path } " ,
679
679
catch_exceptions = False ,
680
680
input = response ,
@@ -696,7 +696,7 @@ def test_tskit_convert_overwrite_zarr_confirm_no(self, mocked, tmp_path, respons
696
696
zarr_path .mkdir ()
697
697
runner = ct .CliRunner ()
698
698
result = runner .invoke (
699
- cli .tskit2zarr ,
699
+ cli .tskit2zarr_main ,
700
700
f"convert { ts_path } { zarr_path } " ,
701
701
catch_exceptions = False ,
702
702
input = response ,
@@ -713,7 +713,7 @@ def test_tskit_convert_overwrite_zarr_force(self, mocked, tmp_path, force_arg):
713
713
zarr_path .mkdir ()
714
714
runner = ct .CliRunner ()
715
715
result = runner .invoke (
716
- cli .tskit2zarr ,
716
+ cli .tskit2zarr_main ,
717
717
f"convert { ts_path } { zarr_path } { force_arg } " ,
718
718
catch_exceptions = False ,
719
719
)
@@ -732,7 +732,7 @@ def test_tskit_convert_with_options(self, mocked, tmp_path):
732
732
zarr_path = tmp_path / "zarr"
733
733
runner = ct .CliRunner ()
734
734
result = runner .invoke (
735
- cli .tskit2zarr ,
735
+ cli .tskit2zarr_main ,
736
736
f"convert { ts_path } { zarr_path } --contig-id chr1 "
737
737
"--isolated-as-missing -l 100 -w 50 -p 4" ,
738
738
catch_exceptions = False ,
@@ -1032,7 +1032,7 @@ def test_convert(self, tmp_path):
1032
1032
zarr_path = tmp_path / "zarr"
1033
1033
runner = ct .CliRunner ()
1034
1034
result = runner .invoke (
1035
- cli .tskit2zarr ,
1035
+ cli .tskit2zarr_main ,
1036
1036
f"convert { ts_path } { zarr_path } " ,
1037
1037
catch_exceptions = False ,
1038
1038
)
@@ -1051,7 +1051,7 @@ def test_convert(self, tmp_path):
1051
1051
zarr_path = tmp_path / "zarr"
1052
1052
runner = ct .CliRunner ()
1053
1053
result = runner .invoke (
1054
- cli .plink2zarr ,
1054
+ cli .plink2zarr_main ,
1055
1055
f"convert { ts_path } { zarr_path } " ,
1056
1056
catch_exceptions = False ,
1057
1057
)
@@ -1069,9 +1069,9 @@ def test_convert(self, tmp_path):
1069
1069
[
1070
1070
main .bio2zarr ,
1071
1071
cli .vcf2zarr_main ,
1072
- cli .plink2zarr ,
1072
+ cli .plink2zarr_main ,
1073
1073
cli .vcfpartition ,
1074
- cli .tskit2zarr ,
1074
+ cli .tskit2zarr_main ,
1075
1075
],
1076
1076
)
1077
1077
def test_version (cmd ):
0 commit comments