Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Added random test data

This commit is contained in:
Arnar Flatberg 2006-04-21 10:56:01 +00:00
parent facf706420
commit ccec17262b
1 changed files with 7 additions and 2 deletions

View File

@ -3,9 +3,10 @@ import logger
from annotations import Annotations from annotations import Annotations
from workflow import * from workflow import *
import plots import plots
import dataset
#import geneontology #import geneontology
#import gostat #import gostat
from scipy import array from scipy import array,randn
class EinarsWorkflow (Workflow): class EinarsWorkflow (Workflow):
@ -92,5 +93,9 @@ class TestDataFunction(Function):
def run(self, data): def run(self, data):
logger.log('notice', 'Injecting foo test 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]