FIXING STUFF!

Rename should be complete or almost so.
This commit is contained in:
2008-12-05 22:07:56 +00:00
parent 1eabbc5c48
commit 7e6bac20e1
42 changed files with 148 additions and 148 deletions

View File

@@ -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)