Made system a package.
This commit is contained in:
parent
32fdca837a
commit
359903c5ab
12
fluent
12
fluent
|
@ -1,9 +1,7 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
sys.path.append('system')
|
|
||||||
|
|
||||||
import dialogs
|
|
||||||
import pygtk
|
import pygtk
|
||||||
pygtk.require('2.0')
|
pygtk.require('2.0')
|
||||||
import gtk
|
import gtk
|
||||||
|
@ -11,14 +9,10 @@ import gtk.gdk
|
||||||
import gtk.glade
|
import gtk.glade
|
||||||
import gnome
|
import gnome
|
||||||
import gnome.ui
|
import gnome.ui
|
||||||
import pango
|
|
||||||
import project
|
|
||||||
import workflow
|
|
||||||
import dataset
|
|
||||||
import logger
|
|
||||||
import plots
|
|
||||||
import navigator
|
|
||||||
import scipy
|
import scipy
|
||||||
|
import pango
|
||||||
|
from system import project, workflow, dataset, logger, plots, navigator, dialogs
|
||||||
|
|
||||||
|
|
||||||
PROGRAM_NAME = 'fluent'
|
PROGRAM_NAME = 'fluent'
|
||||||
VERSION = '0.1.0'
|
VERSION = '0.1.0'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import logger
|
from system import logger
|
||||||
from scipy import atleast_2d,asarray,ArrayType
|
from scipy import atleast_2d,asarray,ArrayType
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
import pygtk
|
import pygtk
|
||||||
pygtk.require('2.0')
|
pygtk.require('2.0')
|
||||||
import gtk
|
import gtk
|
||||||
import gobject
|
|
||||||
import logger
|
|
||||||
import project
|
|
||||||
import workflows
|
|
||||||
import workflow
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
import gobject
|
||||||
|
from system import logger, project, workflow
|
||||||
|
import workflows
|
||||||
|
|
||||||
GLADEFILENAME = 'system/fluent.glade'
|
GLADEFILENAME = 'system/fluent.glade'
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
import gtk
|
import gtk
|
||||||
import gobject
|
import gobject
|
||||||
import plots
|
import plots
|
||||||
import logger
|
from system import dataset, logger, plots, project
|
||||||
import dataset
|
|
||||||
import project
|
|
||||||
|
|
||||||
class NavigatorView (gtk.TreeView):
|
class NavigatorView (gtk.TreeView):
|
||||||
def __init__(self, project, app):
|
def __init__(self, project, app):
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
|
|
||||||
import logger
|
|
||||||
import pygtk
|
import pygtk
|
||||||
import gtk
|
import gtk
|
||||||
import matplotlib
|
import matplotlib
|
||||||
import scipy
|
import scipy
|
||||||
import project
|
|
||||||
from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as FigureCanvas
|
from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as FigureCanvas
|
||||||
from matplotlib.axes import Subplot
|
from matplotlib.axes import Subplot
|
||||||
from matplotlib.figure import Figure
|
from matplotlib.figure import Figure
|
||||||
from matplotlib.numerix import arange, sin, pi
|
from matplotlib.numerix import arange, sin, pi
|
||||||
from matplotlib.widgets import RectangleSelector
|
from matplotlib.widgets import RectangleSelector
|
||||||
|
from system import logger
|
||||||
|
|
||||||
|
|
||||||
class MainView (gtk.Notebook):
|
class MainView (gtk.Notebook):
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import dataset
|
|
||||||
import plots
|
|
||||||
import scipy
|
import scipy
|
||||||
import gobject
|
import gobject
|
||||||
import gtk
|
import gtk
|
||||||
|
from system import dataset, plots
|
||||||
|
|
||||||
class Project:
|
class Project:
|
||||||
def __init__(self,name="Testing"):
|
def __init__(self,name="Testing"):
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
import logger
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
from system import logger
|
||||||
|
|
||||||
def _workflow_classes(modname):
|
def _workflow_classes(modname):
|
||||||
"""Returns a list of all subclasses of Workflow in a given module"""
|
"""Returns a list of all subclasses of Workflow in a given module"""
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
import gtk
|
import gtk
|
||||||
import logger
|
from system import dataset, logger, plots, workflow
|
||||||
from annotations import Annotations
|
from system.annotations import Annotations
|
||||||
import workflow
|
|
||||||
import plots
|
|
||||||
import dataset
|
|
||||||
#import geneontology
|
#import geneontology
|
||||||
#import gostat
|
#import gostat
|
||||||
from scipy import array,randn,log
|
from scipy import array,randn,log
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
import gtk
|
import gtk
|
||||||
import logger
|
import system.workflow as wf
|
||||||
import workflow as wf
|
from system.workflow import Stage, Function
|
||||||
from workflow import Stage, Function
|
|
||||||
import pickle
|
import pickle
|
||||||
from scipy import log2,transpose,dot,divide,shape,mean,resize,zeros
|
from scipy import log2,transpose,dot,divide,shape,mean,resize,zeros
|
||||||
from scipy.linalg import svd,inv,norm,get_blas_funcs,eig
|
from scipy.linalg import svd,inv,norm,get_blas_funcs,eig
|
||||||
import plots
|
from system import dataset, logger, plots
|
||||||
import dataset
|
|
||||||
|
|
||||||
class PCAWorkflow(wf.Workflow):
|
class PCAWorkflow(wf.Workflow):
|
||||||
name = 'PCA Workflow'
|
name = 'PCA Workflow'
|
||||||
|
|
Reference in New Issue