We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65f9b42 commit b001566Copy full SHA for b001566
1 file changed
divref/tests/test_haplotype.py
@@ -59,10 +59,10 @@ def test_get_haplo_sequence_single(
59
hail_reference_genome.add_sequence(str(test_fasta), str(test_fai))
60
61
variant = _make_variant(position=100, ref="A", alt="C")
62
- x = get_haplo_sequence(
+ haplo_seq = get_haplo_sequence(
63
context_size=2, variants=[variant], reference_genome=hail_reference_genome.name
64
)
65
- print(hl.str(x))
+ assert hl.eval(haplo_seq) == "CCCTC"
66
67
68
def test_get_haplo_sequence_empty_list_raises() -> None:
0 commit comments