Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Ensures that the GO is only loaded once.

This commit is contained in:
Einar Ryeng 2007-06-21 10:26:35 +00:00
parent ff2c42902f
commit d6298a2d99
1 changed files with 3 additions and 0 deletions

View File

@ -213,6 +213,9 @@ class LoadGOFunction(workflow.Function):
def run(self): def run(self):
global go global go
if go:
return
go = geneontology.read_default_go() go = geneontology.read_default_go()
browser = GeneOntologyTree(go) browser = GeneOntologyTree(go)
label = gtk.Label('_Gene Ontology') label = gtk.Label('_Gene Ontology')