Fixed bug by removing hardcoded filename.
This commit is contained in:
parent
74cb30428c
commit
75b66914fd
|
@ -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"
|
||||||
|
|
Reference in New Issue