Message266697
IMHO the error is very explicit:
Traceback (most recent call last):
File "poc.py", line 6, in <module>
print(a.format(**r))
KeyError: 'HGNC'
Your "r" directory has no "HGNC" key. I think that you misunderstood the formatting of str.format:
https://docs.python.org/dev/library/string.html#formatstrings
The format string "{HGNC:11892}" is parsed as key="HGNC", format="11892". |
|
Date |
User |
Action |
Args |
2016-05-30 14:56:42 | vstinner | set | recipients:
+ vstinner, Kenneth Lim |
2016-05-30 14:56:42 | vstinner | set | messageid: <1464620202.19.0.888227053222.issue27160@psf.upfronthosting.co.za> |
2016-05-30 14:56:42 | vstinner | link | issue27160 messages |
2016-05-30 14:56:42 | vstinner | create | |
|