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}'