This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Kenneth Lim, vstinner
Date 2016-05-30.14:56:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
IMHO the error is very explicit:

Traceback (most recent call last):
  File "", line 6, in <module>
KeyError: 'HGNC'

Your "r" directory has no "HGNC" key. I think that you misunderstood the formatting of str.format:

The format string "{HGNC:11892}" is parsed as key="HGNC", format="11892".
Date User Action Args
2016-05-30 14:56:42vstinnersetrecipients: + vstinner, Kenneth Lim
2016-05-30 14:56:42vstinnersetmessageid: <>
2016-05-30 14:56:42vstinnerlinkissue27160 messages
2016-05-30 14:56:42vstinnercreate