Skip to content

Commit

Permalink
fix ensembl to seq
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavkt committed Aug 5, 2024
1 parent e904e04 commit a16f232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gene_benchmark/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _gene_symbol_to_ensemble_ids(
ids = {}
for hit in gene_info["hits"]:
symbol = hit["symbol"]
ensembl_id = hit.get("ensembl", {}).get("gene", None)
ensembl_id = hit["ensembl"]["gene"]
ids[symbol] = ensembl_id
return ids

Expand Down

0 comments on commit a16f232

Please sign in to comment.