File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -560,7 +560,7 @@ def preprocess_msi(msi: Any) -> Sequence[Dict]:
560560 return []
561561
562562
563- def preprocess_hrd (hrd : Any ) -> Iterable [Dict ]:
563+ def preprocess_hrd (hrd : Any ) -> Sequence [Dict ]:
564564 """
565565 Process hrd input into preformatted signature input.
566566 HRD gets mapped to corresponding GraphKB Signature CategoryVariants.
Original file line number Diff line number Diff line change 5050 "HLA-C*06" ,
5151}
5252EXPECTED_TMB = {TMB_SIGNATURE }
53- EXPECTED_MSI = {MSI_MAPPING .get ("microsatellite instability" )[ "signatureName" ] }
53+ EXPECTED_MSI = {MSI_MAPPING .get ("microsatellite instability" , {}). get ( "signatureName" , "" ) }
5454EXPECTED_HRD = {
55- HRD_MAPPING .get ("homologous recombination deficiency strong signature" )["signatureName" ]
55+ HRD_MAPPING .get ("homologous recombination deficiency strong signature" , {}).get (
56+ "signatureName" , ""
57+ )
5658}
5759
5860
You can’t perform that action at this time.
0 commit comments