diff --git a/workflows/pca_workflow.py b/workflows/pca_workflow.py index 56b3fc0..4664d9f 100644 --- a/workflows/pca_workflow.py +++ b/workflows/pca_workflow.py @@ -1,18 +1,19 @@ import gtk import logger -from workflow import * +import workflow as wf +from workflow import Stage, Function import pickle from scipy import log2,transpose,dot,divide,shape,mean,resize,zeros from scipy.linalg import svd,inv,norm,get_blas_funcs,eig import plots import dataset -class PCAWorkflow(Workflow): +class PCAWorkflow(wf.Workflow): name = 'PCA Workflow' description = 'PCA workflow. Uses real microarray data from a study of diabetes (Mootha et al.).' def __init__(self, app): - Workflow.__init__(self, app) + wf.Workflow.__init__(self, app) #self.add_project(app.project) #logger.log('notice','Current project added to: %s' %self.name)