We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5756b4 commit 61267b4Copy full SHA for 61267b4
v03_pipeline/lib/annotations/mito.py
@@ -19,7 +19,11 @@ def common_low_heteroplasmy(ht: hl.Table, **_: Any) -> hl.Expression:
19
20
21
def contamination(mt: hl.MatrixTable, **_: Any) -> hl.Expression:
22
- return hl.parse_float64(mt.contamination)
+ return (
23
+ hl.parse_float64(mt.contamination)
24
+ if mt.contamination.dtype == hl.tstr
25
+ else mt.contamination
26
+ )
27
28
29
def DP(mt: hl.MatrixTable, **_: Any) -> hl.Expression: # noqa: N802
0 commit comments