* system/fluents.py: Fixed a bug where the the application tried to load

a toolbar from None

 * system/plots.py: Fixed MainView.insert_view that was a no-op when in large
   view.

 * system/dataset.py: Changed __str__ of dataset to also show names of dimensions.
This commit is contained in:
2006-07-21 14:30:09 +00:00
parent aca9a47f56
commit 87f87e36c8
4 changed files with 21 additions and 13 deletions

View File

@@ -5,11 +5,11 @@ from system import dataset, logger, plots, workflow
from scipy import array,randn,log
import cPickle
class GOWorkflow (workflow.Workflow):
class TestWorkflow (workflow.Workflow):
name = 'Gene Ontology Workflow'
ident = 'go'
description = 'Gene Ontology Workflow. This workflow currently serves as a general testing workflow.'
name = 'Test Workflow'
ident = 'test'
description = 'Test Gene Ontology Workflow. This workflow currently serves as a general testing workflow.'
def __init__(self, app):
workflow.Workflow.__init__(self, app)
@@ -102,7 +102,8 @@ class TestDataFunction(workflow.Function):
logger.log('notice', 'Injecting foo test data')
x = randn(20,30)
X = dataset.Dataset(x)
return [X, plots.SinePlot()]
p = plots.ScatterPlot(X, X, 'rows', 'rows', '0_1', '0_2')
return [X, plots.SinePlot(), p]
class DatasetLog(workflow.Function):
def __init__(self):