Added random test data
This commit is contained in:
parent
facf706420
commit
ccec17262b
|
@ -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]
|
||||
|
||||
|
|
Reference in New Issue