From 7851048fb6a55e57c120b6e25def992fd2991a10 Mon Sep 17 00:00:00 2001 From: flatberg Date: Fri, 21 Apr 2006 08:34:08 +0000 Subject: [PATCH] workflow update --- system/dataset.py | 1 + workflows/pca_workflow.py | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/system/dataset.py b/system/dataset.py index 6e68b4a..bcc2134 100644 --- a/system/dataset.py +++ b/system/dataset.py @@ -46,6 +46,7 @@ class Dataset: def __str__(self): self.name = 'Arnar' return self.name + def names(self,axis=0): """Returns identifier names of a dimension. NB: sorted by values! diff --git a/workflows/pca_workflow.py b/workflows/pca_workflow.py index ff87dcb..d61c056 100644 --- a/workflows/pca_workflow.py +++ b/workflows/pca_workflow.py @@ -64,8 +64,9 @@ class LoadAnnotationsFunction(Function): logger.log('debug','Some identifers in data does not exist in affy file!') for affy_id,description in annot: if affy_id in ids_in_data: - pathways = desc[i_want]: - if not pathways[0][0]=='--': + pathways = description[i_want] + if not pathways[0][0]=='--': + pass