FIXING STUFF!
Rename should be complete or almost so.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
import gtk
|
||||
from fluents import dataset, logger, plots, workflow, fluents, project, view, main
|
||||
from laydi import dataset, logger, plots, workflow, laydi, project, view, main
|
||||
import geneontology
|
||||
from matplotlib.nxutils import points_inside_poly
|
||||
import matplotlib
|
||||
@@ -243,7 +243,7 @@ class LoadGOFunction(workflow.Function):
|
||||
browser = GeneOntologyTree(go)
|
||||
label = gtk.Label('_Gene Ontology')
|
||||
label.set_use_underline(True)
|
||||
fluents.app['bottom_notebook'].append_page(browser, label)
|
||||
laydi.app['bottom_notebook'].append_page(browser, label)
|
||||
|
||||
class LoadAnnotationsFunction(workflow.Function):
|
||||
|
||||
@@ -699,7 +699,7 @@ class DagPlot(plots.Plot):
|
||||
def is_mappable_with(self, obj):
|
||||
"""Returns True if dataset/selection is mappable with this plot.
|
||||
"""
|
||||
if isinstance(obj, fluents.dataset.Dataset):
|
||||
if isinstance(obj, laydi.dataset.Dataset):
|
||||
if self.current_dim in obj.get_dim_name():
|
||||
return True
|
||||
return False
|
||||
@@ -718,7 +718,7 @@ class DagPlot(plots.Plot):
|
||||
# is dataset a vector or matrix?
|
||||
if not n==1:
|
||||
# we have a category dataset
|
||||
if isinstance(ds, fluents.dataset.CategoryDataset):
|
||||
if isinstance(ds, laydi.dataset.CategoryDataset):
|
||||
vec = dot(array, diag(arange(n))).sum(1)
|
||||
else:
|
||||
vec = array.sum(1)
|
||||
|
Reference in New Issue
Block a user