FIXING STUFF!
Rename should be complete or almost so.
This commit is contained in:
@@ -3,8 +3,8 @@ import os.path
|
||||
import webbrowser
|
||||
import cPickle
|
||||
|
||||
from fluents import logger, plots,workflow,dataset,main
|
||||
from fluents.lib import blmfuncs,nx_utils,validation,engines,cx_stats,cx_utils
|
||||
from laydi import logger, plots,workflow,dataset,main
|
||||
from laydi.lib import blmfuncs,nx_utils,validation,engines,cx_stats,cx_utils
|
||||
import gobrowser, geneontology
|
||||
import scipy
|
||||
import networkx as nx
|
||||
@@ -103,7 +103,7 @@ class DatasetLoadFunctionCYCLE(workflow.Function):
|
||||
workflow.Function.__init__(self, 'load_data', 'Cycle')
|
||||
|
||||
def run(self):
|
||||
filename='fluents/data/CYCLE'
|
||||
filename='laydi/data/CYCLE'
|
||||
if filename:
|
||||
return dataset.from_file(filename)
|
||||
|
||||
@@ -419,7 +419,7 @@ class MapGene2GO(workflow.Function):
|
||||
workflow.Function.__init__(self, 'gene2go', 'gene->GO')
|
||||
# load data at init
|
||||
try:
|
||||
fname = "/home/flatberg/fluents/data/gene2go.pcl"
|
||||
fname = "/home/flatberg/laydi/data/gene2go.pcl"
|
||||
self._gene2go = cPickle.load(open(fname))
|
||||
except:
|
||||
logger.log("notice", "could not load mapping")
|
||||
@@ -451,7 +451,7 @@ class MapGO2Gene(workflow.Function):
|
||||
workflow.Function.__init__(self, 'go2gene', 'GO->gene')
|
||||
# load data at init
|
||||
try:
|
||||
fname = "/home/flatberg/fluents/data/go2gene.pcl"
|
||||
fname = "/home/flatberg/laydi/data/go2gene.pcl"
|
||||
self._go2gene = cPickle.load(open(fname))
|
||||
except:
|
||||
logger.log("notice", "could not load mapping")
|
||||
|
||||
Reference in New Issue
Block a user