Projects/laydi
Projects
/
laydi
Archived
7
0
Fork 0

Fixed bug by removing hardcoded filename.

This commit is contained in:
Einar Ryeng 2007-01-31 14:56:43 +00:00
parent 74cb30428c
commit 75b66914fd
1 changed files with 3 additions and 5 deletions

View File

@ -4,7 +4,7 @@ import os
import pygtk import pygtk
import gtk import gtk
import gtk.glade import gtk.glade
import fluents from fluents import fluents
from fluents.workflow import Function, OptionsDialog, Options from fluents.workflow import Function, OptionsDialog, Options
from fluents.dataset import Dataset from fluents.dataset import Dataset
from fluents import plots, dataset, workflow, logger from fluents import plots, dataset, workflow, logger
@ -537,8 +537,7 @@ class PcaOptionsDialog(OptionsDialog):
""" """
def __init__(self, data, options, input_names=['X']): def __init__(self, data, options, input_names=['X']):
OptionsDialog.__init__(self, data, options, input_names) OptionsDialog.__init__(self, data, options, input_names)
#glade_file = os.path.join(fluents.DATADIR, 'pca_options.glade') glade_file = os.path.join(fluents.DATADIR, 'pca_options.glade')
glade_file = os.path.join("/home/flatberg/fluents/fluents/", 'pca_options.glade')
notebook_name = "vbox1" notebook_name = "vbox1"
page_name = "Options" page_name = "Options"
@ -751,8 +750,7 @@ class PlsOptionsDialog(OptionsDialog):
""" """
def __init__(self, data, options, input_names=['X', 'Y']): def __init__(self, data, options, input_names=['X', 'Y']):
OptionsDialog.__init__(self, data, options, input_names) OptionsDialog.__init__(self, data, options, input_names)
#glade_file = os.path.join(fluents.DATADIR, 'pca_options.glade') glade_file = os.path.join(fluents.DATADIR, 'pls_options.glade')
glade_file = os.path.join("/home/flatberg/fluents/fluents/", 'pls_options.glade')
notebook_name = "vbox1" notebook_name = "vbox1"
page_name = "Options" page_name = "Options"