From 440a3cc577f33efd999be0ac1e66a14efa2591dd Mon Sep 17 00:00:00 2001 From: MattWellie Date: Wed, 30 Oct 2024 20:15:32 +1000 Subject: [PATCH] tell mypy to shut up --- src/talos/CreateTalosHTML.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/talos/CreateTalosHTML.py b/src/talos/CreateTalosHTML.py index 67dd3bf2..81d00eb2 100644 --- a/src/talos/CreateTalosHTML.py +++ b/src/talos/CreateTalosHTML.py @@ -656,7 +656,7 @@ def __init__(self, report_variant: ReportVariant, sample: Sample, ext_labels: li and GNOMAD_SV_KEY in self.var_data.info and isinstance(self.var_data.info[GNOMAD_SV_KEY], str) ): - self.var_data.info['gnomad_key'] = self.var_data.info[GNOMAD_SV_KEY].split('v2.1_')[-1] + self.var_data.info['gnomad_key'] = self.var_data.info[GNOMAD_SV_KEY].split('v2.1_')[-1] # type: ignore[union-attr] def __str__(self) -> str: return f'{self.chrom}-{self.pos}-{self.ref}-{self.alt}'