* fluent, *.py: Data and plots returned from functions will now show up in

the navigator window.
This commit is contained in:
2006-04-20 14:29:13 +00:00
parent 78ecadb3ab
commit c09f2ceb92
6 changed files with 52 additions and 35 deletions

View File

@@ -2,6 +2,7 @@ import gtk
import logger
from annotations import Annotations
from workflow import *
import plots
#import geneontology
#import gostat
from scipy import array
@@ -14,6 +15,7 @@ class EinarsWorkflow (Workflow):
load = Stage('load', 'Load Data')
load.add_function(Function('load', 'Load Microarrays'))
load.add_function(TestDataFunction())
self.add_stage(load)
preproc = Stage('preprocess', 'Preprocessing')
@@ -83,3 +85,12 @@ class GODistanceFunction(Function):
return gene_distances
class TestDataFunction(Function):
def __init__(self):
Function.__init__(self, 'test_data', 'Generate Test Data')
def run(self, data):
logger.log('notice', 'Injecting foo test data')
return [plots.SinePlot(None)]