<type 'exceptions.KeyError'> | Python 2.7.9: /usr/bin/python Mon Dec 2 14:32:43 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 = 'FGL1' |
/usr/lib/cgi-bin/gene_disease_db/gene.py in GO_ann(gene='FGL1') |
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:0005576', 'GO:0005577', 'GO:0031982', 'GO:0031988', 'GO:0032991', 'GO:0043226', ...])} |
<type 'exceptions.KeyError'>: 'biological_process'
args =
('biological_process',)
message =
'biological_process'