Hey guys I found a bug in one of the codes in the cookbook and tutorials from Biopython. Tried this one and got a KeyError: 'ID'.
from Bio.SwissProt import KeyWList
handle = open("keywlist.txt")
records = KeyWList.parse(handle)
for record in records:
print(record[’ID’])
print(record[’DE’])
Do you have any ideia or someone else find this problem?
Thanks
Paulo
The version of the tutorial/cookbook : Last Update { 17 December 2014 (Biopython 1.65)
still getting same error! 8(