From 357cd1a1a6a5279e025cf561ce8d52d367ab91e9 Mon Sep 17 00:00:00 2001 From: tangstad Date: Sat, 22 Apr 2006 20:48:44 +0000 Subject: [PATCH] Removed workflow being dependent on rpy by putting the import within the run function of affymatrix import. --- workflows/go_workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/go_workflow.py b/workflows/go_workflow.py index 66701fd..2c46757 100644 --- a/workflows/go_workflow.py +++ b/workflows/go_workflow.py @@ -6,7 +6,6 @@ import plots import dataset #import geneontology #import gostat -import rpy from scipy import array,randn import cPickle @@ -172,6 +171,7 @@ class CelFileImportFunction(Function): Function.__init__(self, 'cel_import', 'Import Affy') def run(self, data): + import rpy chooser = gtk.FileChooserDialog(title="Select cel files...", parent=None, action=gtk.FILE_CHOOSER_ACTION_OPEN, buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,