Skip to content

Commit

Permalink
test: adjust testing to absence of sift and polyphen
Browse files Browse the repository at this point in the history
  • Loading branch information
d0choa committed Dec 7, 2023
1 parent de6f083 commit 3dd52ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
5 changes: 0 additions & 5 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,6 @@ def mock_variant_annotation(spark: SparkSession) -> VariantAnnotation:
expr='array(named_struct("alleleFrequency", rand(), "populationName", cast(rand() as string)))',
percentNulls=0.1,
)
.withColumnSpec(
"cadd",
expr='named_struct("phred", cast(rand() as float), "raw", cast(rand() as float))',
percentNulls=0.1,
)
.withColumnSpec("rsIds", expr="array(cast(rand() AS string))", percentNulls=0.1)
.withColumnSpec(
"vep",
Expand Down
14 changes: 0 additions & 14 deletions tests/dataset/test_variant_annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,6 @@ def test_variant_index_creation(mock_variant_annotation: VariantAnnotation) -> N
assert isinstance(mock_variant_annotation, VariantAnnotation)


def test_get_polyphen_v2g(
mock_variant_annotation: VariantAnnotation, mock_gene_index: GeneIndex
) -> None:
"""Test get_polyphen_v2g with mock variant annotation."""
assert isinstance(mock_variant_annotation.get_polyphen_v2g(mock_gene_index), V2G)


def test_get_sift_v2g(
mock_variant_annotation: VariantAnnotation, mock_gene_index: GeneIndex
) -> None:
"""Test get_sift_v2g with mock variant annotation."""
assert isinstance(mock_variant_annotation.get_sift_v2g(mock_gene_index), V2G)


def test_get_plof_v2g(
mock_variant_annotation: VariantAnnotation, mock_gene_index: GeneIndex
) -> None:
Expand Down

0 comments on commit 3dd52ed

Please sign in to comment.