Skip to content

Commit

Permalink
NN-351 Fix for the format issue in gene mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Maluuck committed Sep 14, 2023
1 parent 4d0a3cc commit 75f7a6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/src/pathway_data/pathway_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def genes_to_proteins(genes, species):
ensembl_id = res[0]["protein"]
else:
ensembl_id = res["protein"]
ensembl_id = [ensembl_id] if isinstance(ensembl_id, str) else ensembl_id
gene_mapping[old] = ensembl_id
return gene_mapping

Expand Down

0 comments on commit 75f7a6a

Please sign in to comment.