<type 'exceptions.KeyError'> | Python 2.7.9: /usr/bin/python Tue Oct 15 21:13:56 2024 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/cgi-bin/gene_disease_db/gene.py in |
475 kegg_ann(gene) |
476 react_ann(gene) |
=> 477 GOBPs,GOCCs=GO_ann(gene) |
478 if make_file==True: |
479 outcsv.close() |
GOBPs undefined, GOCCs undefined, GO_ann = <function GO_ann>, gene = 'HIST2H4A' |
/usr/lib/cgi-bin/gene_disease_db/gene.py in GO_ann(gene='HIST2H4A') |
345 print '<summary id="missing"> Associated GO terms for '+root2root_names[root]+' </summary>' |
346 print '</details>' |
=> 347 return root2GO["biological_process"],root2GO["cellular_component"] |
348 |
349 def kegg_ann(gene): |
root2GO = {} |
<type 'exceptions.KeyError'>: 'biological_process'
args =
('biological_process',)
message =
'biological_process'