Changeset 125c4be in sasview
- Timestamp:
- Jun 9, 2017 4:35:37 AM (8 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 2d0e0c1
- Parents:
- 8eaa101
- Location:
- src/sas/qtgui
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingPerspective.py
rdc5ef15 r125c4be 7 7 8 8 from sas.qtgui.Perspectives.Fitting.FittingWidget import FittingWidget 9 from sas.qtgui.Perspectives.Fitting import ModelUtilities 9 10 10 11 class FittingWindow(QtGui.QTabWidget): … … 43 44 # Perspective window not allowed to close by default 44 45 self._allow_close = False 46 47 self.menu_manager = ModelUtilities.ModelManager() 48 # TODO: reuse these in FittingWidget properly 49 self.model_list_box = self.menu_manager.get_model_list() 50 self.model_dictionary = self.menu_manager.get_model_dictionary() 45 51 46 52 self.setWindowTitle('Fit panel - Active Fitting Optimizer: %s' % self.optimizer) -
src/sas/qtgui/Utilities/CategoryInstaller.py
rdc5ef15 r125c4be 35 35 return sas.sascalc.dataloader.readers.get_data_path() 36 36 37 #@staticmethod38 #def _get_models_py_dir():39 #"""40 #returns the dir where models.py should be41 #"""42 #import sas.sasgui.perspectives.fitting.models43 #return sas.sasgui.perspectives.fitting.models.get_model_python_path()37 @staticmethod 38 def _get_models_py_dir(): 39 """ 40 returns the dir where models.py should be 41 """ 42 import sas.sasgui.perspectives.fitting.models 43 return sas.sasgui.perspectives.fitting.models.get_model_python_path() 44 44 45 45 @staticmethod
Note: See TracChangeset
for help on using the changeset viewer.