Skip to content

Commit 6712ea9

Browse files
committed
test_csi passing
1 parent 481a0d9 commit 6712ea9

11 files changed

+50
-100
lines changed

bio2zarr/csi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import numpy as np
1010

11-
from sgkit.io.vcf.utils import (
11+
from bio2zarr.utils import (
1212
get_file_offset,
1313
open_gzip,
1414
read_bytes_as_tuple,

bio2zarr/tbi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import numpy as np
1010

11-
from sgkit.io.vcf.utils import (
11+
from bio2zarr.utils import (
1212
get_file_offset,
1313
open_gzip,
1414
read_bytes_as_tuple,

bio2zarr/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
import fsspec
1010
from numcodecs import Delta, PackBits
11-
from yarl import URL
1211

1312
from sgkit.typing import PathType
1413

bio2zarr/vcf_partition.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
import numpy as np
66
from cyvcf2 import VCF
77

8-
from sgkit.io.vcf.csi import CSI_EXTENSION, read_csi
9-
from sgkit.io.vcf.tbi import TABIX_EXTENSION, read_tabix
10-
from sgkit.io.vcf.utils import ceildiv, get_file_length
8+
from bio2zarr.csi import CSI_EXTENSION, read_csi
9+
from bio2zarr.tbi import TABIX_EXTENSION, read_tabix
10+
from bio2zarr.utils import ceildiv, get_file_length
1111
from sgkit.typing import PathType
1212

1313

tests/__init__.py

Whitespace-only changes.
317 KB
Binary file not shown.
194 Bytes
Binary file not shown.
317 KB
Binary file not shown.
455 Bytes
Binary file not shown.

tests/test_csi.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import pytest
22
from cyvcf2 import VCF
33

4-
from sgkit.io.vcf.csi import read_csi
5-
from sgkit.io.vcf.vcf_partition import get_csi_path
6-
from sgkit.io.vcf.vcf_reader import count_variants
4+
from bio2zarr.csi import read_csi
5+
from bio2zarr.vcf_partition import get_csi_path
76

8-
from .utils import path_for_test
7+
from .utils import count_variants, path_for_test
98

109

1110
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)