Skip to content

Commit

Permalink
correct the key match to GeneID in the idmapping file parser #22
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisMoth committed Jun 16, 2021
1 parent fe8dde3 commit d2f6292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PDBMapProtein.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ def load_idmapping(cls, idmapping_fname):
hgnc = dbid # for clarity
PDBMapProtein._unp2hgnc[unp] = hgnc
PDBMapProtein._hgnc2unp[hgnc] = unp
elif db == "Gene_ID":
elif db == "GeneID":
gene_id = dbid # for clarity
PDBMapProtein._unp2gene_id[unp] = gene_id
elif db == "Ensembl_TRS":
Expand Down

0 comments on commit d2f6292

Please sign in to comment.