Made system a package.

This commit is contained in:
Einar Ryeng 2006-04-25 09:53:35 +00:00
parent 32fdca837a
commit 359903c5ab
10 changed files with 17 additions and 33 deletions

12
fluent
View File

@ -1,9 +1,7 @@
#!/usr/bin/python
import sys
sys.path.append('system')
import dialogs
import pygtk
pygtk.require('2.0')
import gtk
@ -11,14 +9,10 @@ import gtk.gdk
import gtk.glade
import gnome
import gnome.ui
import pango
import project
import workflow
import dataset
import logger
import plots
import navigator
import scipy
import pango
from system import project, workflow, dataset, logger, plots, navigator, dialogs
PROGRAM_NAME = 'fluent'
VERSION = '0.1.0'

0
system/__init__.py Normal file
View File

View File

@ -1,4 +1,4 @@
import logger
from system import logger
from scipy import atleast_2d,asarray,ArrayType

View File

@ -1,13 +1,11 @@
import pygtk
pygtk.require('2.0')
import gtk
import gobject
import logger
import project
import workflows
import workflow
import sys
import os
import gobject
from system import logger, project, workflow
import workflows
GLADEFILENAME = 'system/fluent.glade'

View File

@ -2,9 +2,7 @@
import gtk
import gobject
import plots
import logger
import dataset
import project
from system import dataset, logger, plots, project
class NavigatorView (gtk.TreeView):
def __init__(self, project, app):

View File

@ -1,15 +1,14 @@
import logger
import pygtk
import gtk
import matplotlib
import scipy
import project
from matplotlib.backends.backend_gtkagg import FigureCanvasGTKAgg as FigureCanvas
from matplotlib.axes import Subplot
from matplotlib.figure import Figure
from matplotlib.numerix import arange, sin, pi
from matplotlib.widgets import RectangleSelector
from system import logger
class MainView (gtk.Notebook):

View File

@ -1,8 +1,8 @@
import dataset
import plots
import scipy
import gobject
import gtk
from system import dataset, plots
class Project:
def __init__(self,name="Testing"):

View File

@ -1,8 +1,8 @@
import gtk
import logger
import sys
import os
from system import logger
def _workflow_classes(modname):
"""Returns a list of all subclasses of Workflow in a given module"""

View File

@ -1,9 +1,6 @@
import gtk
import logger
from annotations import Annotations
import workflow
import plots
import dataset
from system import dataset, logger, plots, workflow
from system.annotations import Annotations
#import geneontology
#import gostat
from scipy import array,randn,log

View File

@ -1,12 +1,10 @@
import gtk
import logger
import workflow as wf
from workflow import Stage, Function
import system.workflow as wf
from system.workflow import Stage, Function
import pickle
from scipy import log2,transpose,dot,divide,shape,mean,resize,zeros
from scipy.linalg import svd,inv,norm,get_blas_funcs,eig
import plots
import dataset
from system import dataset, logger, plots
class PCAWorkflow(wf.Workflow):
name = 'PCA Workflow'