From ccec17262b8bae9e702ba9e65ea4e3ff35814704 Mon Sep 17 00:00:00 2001 From: flatberg Date: Fri, 21 Apr 2006 10:56:01 +0000 Subject: [PATCH] Added random test data --- workflows/go_workflow.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/workflows/go_workflow.py b/workflows/go_workflow.py index b26126e..fc93224 100644 --- a/workflows/go_workflow.py +++ b/workflows/go_workflow.py @@ -3,9 +3,10 @@ import logger from annotations import Annotations from workflow import * import plots +import dataset #import geneontology #import gostat -from scipy import array +from scipy import array,randn class EinarsWorkflow (Workflow): @@ -92,5 +93,9 @@ class TestDataFunction(Function): def run(self, data): logger.log('notice', 'Injecting foo test data') - return [plots.SinePlot(None)] + x = randn(20,30) + axis_0 = ['rows',[]] + axis_1 = ['cols',[]] + X = dataset.Dataset(x,[axis_0,axis_1]) + return [X]