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