Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
Chiara Rasi committed Oct 4, 2024
1 parent 3bed5f4 commit 9db297d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/chanjo2/meta/handle_report_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,11 @@ def get_mane_overview_coverage_stats(query: ReportQuery, session: Session) -> Di
)

gene_mappings = {}
hgnc_ids = []
for gene in genes:
gene_mappings[gene.ensembl_id] = gene
hgnc_ids.append(gene.hgnc_id)

mane_stats = {
"levels": get_ordered_levels(threshold_levels=query.completeness_thresholds),
"extras": {"hgnc_gene_ids": hgnc_ids},
"interval_type": IntervalType.TRANSCRIPTS,
"samples_coverage_stats_by_interval": {},
}
Expand Down

0 comments on commit 9db297d

Please sign in to comment.