Changeset b963b20 in sasview for src/sas/sasgui/guiframe
- Timestamp:
- Sep 24, 2017 11:29:13 PM (7 years ago)
- Branches:
- master, 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- b277220, fca1f50
- Parents:
- d3b0c77
- Location:
- src/sas/sasgui/guiframe
- Files:
-
- 1 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/CategoryInstaller.py
rd3b0c77 rb963b20 15 15 from collections import defaultdict, OrderedDict 16 16 17 from sas .sasguiimport get_user_dir17 from sas import get_user_dir 18 18 19 19 USER_FILE = 'categories.json' -
src/sas/sasgui/guiframe/aboutbox.py
r724af06 rb963b20 25 25 import os 26 26 27 from sas .sasguiimport get_local_config27 from sas import get_local_config 28 28 config = get_local_config() 29 29 -
src/sas/sasgui/guiframe/acknowledgebox.py
r914ba0a rb963b20 13 13 from wx.lib.expando import ExpandoTextCtrl 14 14 15 from sas .sasguiimport get_local_config15 from sas import get_local_config 16 16 config = get_local_config() 17 17 -
src/sas/sasgui/guiframe/config.py
r724af06 rb963b20 145 145 UPDATE_TIMEOUT = 2 146 146 147 #OpenCL option148 SAS_OPENCL = None149 150 147 # Time out for updating sasview 151 148 UPDATE_TIMEOUT = 2 -
src/sas/sasgui/guiframe/data_panel.py
rc6bdb3b rb963b20 33 33 from sas.sasgui.guiframe.local_perspectives.plotting.SimplePlot \ 34 34 import PlotFrame as QucikPlotDialog 35 from sas .sasguiimport get_local_config35 from sas import get_local_config 36 36 37 37 config = get_local_config() -
src/sas/sasgui/guiframe/documentation_window.py
r724af06 rb963b20 27 27 WX_SUPPORTS_HTML2 = False 28 28 29 from sas .sasguiimport get_app_dir29 from sas import get_app_dir 30 30 31 31 # Don't use wx html renderer on windows. -
src/sas/sasgui/guiframe/gui_manager.py
r914ba0a rb963b20 28 28 from matplotlib import _pylab_helpers 29 29 30 from sas .sasgui import get_local_config, get_app_dir, get_user_dir30 from sas import get_local_config, get_custom_config, get_app_dir, get_user_dir 31 31 from sas.sasgui.guiframe.events import EVT_CATEGORY 32 32 from sas.sasgui.guiframe.events import EVT_STATUS … … 47 47 from sas.sascalc.dataloader.loader import Loader 48 48 from sas.sasgui.guiframe.proxy import Connection 49 from sas.sasgui.guiframe.customdir import setup_custom_config50 49 51 50 logger = logging.getLogger(__name__) … … 53 52 54 53 config = get_local_config() 55 custom_config = setup_custom_config()54 custom_config = get_custom_config() 56 55 57 56 # read some constants from config … … 63 62 SPLASH_SCREEN_HEIGHT = config.SPLASH_SCREEN_HEIGHT 64 63 SS_MAX_DISPLAY_TIME = config.SS_MAX_DISPLAY_TIME 65 SAS_OPENCL = config.SAS_OPENCL66 64 if not WELCOME_PANEL_ON: 67 65 WELCOME_PANEL_SHOW = False … … 138 136 PARENT_FRAME = wx.Frame 139 137 CHILD_FRAME = wx.Frame 140 141 #Initiliaze enviromental variable with custom setting but only if variable not set142 if SAS_OPENCL and not "SAS_OPENCL" in os.environ:143 os.environ["SAS_OPENCL"] = SAS_OPENCL144 138 145 139 class ViewerFrame(PARENT_FRAME): -
src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py
r759a8ab rb963b20 10 10 logger = logging.getLogger(__name__) 11 11 12 from sas import get_local_config 13 12 14 from sas.sascalc.dataloader.loader import Loader 13 15 from sas.sascalc.dataloader.loader_exceptions import NoKnownLoaderException 14 16 15 from sas.sasgui import get_local_config16 17 from sas.sasgui.guiframe.plugin_base import PluginBase 17 18 from sas.sasgui.guiframe.events import StatusEvent -
src/sas/sasgui/guiframe/startup_configuration.py
r914ba0a rb963b20 13 13 import wx 14 14 15 from sas .sasgui import get_custom_config_path15 from sas import make_custom_config_path 16 16 from sas.sasgui.guiframe.events import StatusEvent 17 17 from sas.sasgui.guiframe.gui_style import GUIFRAME … … 194 194 Write custom configuration 195 195 """ 196 path = get_custom_config_path()196 path = make_custom_config_path() 197 197 with open(path, 'w') as out_f: 198 198 out_f.write("#Application appearance custom configuration\n")
Note: See TracChangeset
for help on using the changeset viewer.