Skip to content

Commit

Permalink
tell mypy to shut up
Browse files Browse the repository at this point in the history
  • Loading branch information
MattWellie committed Oct 30, 2024
1 parent 8e94f76 commit 440a3cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/talos/CreateTalosHTML.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
Expand Down

0 comments on commit 440a3cc

Please sign in to comment.