<type 'exceptions.KeyError'> | Python 2.7.9: /usr/bin/python Tue Dec 3 11:15:50 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 = 'OXLD1' |
/usr/lib/cgi-bin/gene_disease_db/gene.py in GO_ann(gene='OXLD1') |
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 = {'cellular_component': set(['GO:0005739', 'GO:0043226', 'GO:0043227', 'GO:0043229', 'GO:0043231', 'GO:0044424', ...])} |
<type 'exceptions.KeyError'>: 'biological_process'
args =
('biological_process',)
message =
'biological_process'