Ensures that the GO is only loaded once.
This commit is contained in:
parent
ff2c42902f
commit
d6298a2d99
|
@ -213,6 +213,9 @@ class LoadGOFunction(workflow.Function):
|
|||
|
||||
def run(self):
|
||||
global go
|
||||
if go:
|
||||
return
|
||||
|
||||
go = geneontology.read_default_go()
|
||||
browser = GeneOntologyTree(go)
|
||||
label = gtk.Label('_Gene Ontology')
|
||||
|
|
Reference in New Issue