Skip to content

Commit 3b67199

Browse files
Will-Tylerjeromekelleher
authored andcommitted
Add test case for LPL field already present
1 parent b6caf74 commit 3b67199

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed
67 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

tests/test_vcf_examples.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ def test_call_LAA(self, ds):
449449
[[1, 2, 3], [2, 3, -2]],
450450
[[1, -2, -2], [1, -2, -2]],
451451
[[2, -2, -2], [1, -2, -2]],
452+
[[1, -2, -2], [-1, -2, -2]],
453+
[[2, -2, -2], [2, -2, -2]],
452454
]
453455
nt.assert_array_equal(ds.call_LAA.values, call_LAA)
454456

@@ -478,6 +480,14 @@ def test_call_LPL(self, ds):
478480
[0, 30, -2, -2, -2, -2, -2, -2, -2, -2],
479481
[0, 0, -2, -2, -2, -2, -2, -2, -2, -2],
480482
],
483+
[
484+
[30, 30, 30, -2, -2, -2, -2, -2, -2, -2],
485+
[30, 30, 30, -2, -2, -2, -2, -2, -2, -2],
486+
],
487+
[
488+
[10, 40, 60, -2, -2, -2, -2, -2, -2, -2],
489+
[10, 40, 60, -2, -2, -2, -2, -2, -2, -2],
490+
],
481491
]
482492
nt.assert_array_equal(ds.call_LPL.values, call_LPL)
483493

0 commit comments

Comments
 (0)