Removed workflow being dependent on rpy by putting the import within the run function of affymatrix import.
This commit is contained in:
parent
26f16acc9c
commit
357cd1a1a6
|
@ -6,7 +6,6 @@ import plots
|
||||||
import dataset
|
import dataset
|
||||||
#import geneontology
|
#import geneontology
|
||||||
#import gostat
|
#import gostat
|
||||||
import rpy
|
|
||||||
from scipy import array,randn
|
from scipy import array,randn
|
||||||
import cPickle
|
import cPickle
|
||||||
|
|
||||||
|
@ -172,6 +171,7 @@ class CelFileImportFunction(Function):
|
||||||
Function.__init__(self, 'cel_import', 'Import Affy')
|
Function.__init__(self, 'cel_import', 'Import Affy')
|
||||||
|
|
||||||
def run(self, data):
|
def run(self, data):
|
||||||
|
import rpy
|
||||||
chooser = gtk.FileChooserDialog(title="Select cel files...", parent=None,
|
chooser = gtk.FileChooserDialog(title="Select cel files...", parent=None,
|
||||||
action=gtk.FILE_CHOOSER_ACTION_OPEN,
|
action=gtk.FILE_CHOOSER_ACTION_OPEN,
|
||||||
buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
|
buttons=(gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL,
|
||||||
|
|
Reference in New Issue