Ignore:
Timestamp:
Jun 25, 2016 2:07:33 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
899e084
Parents:
9501661
git-author:
Paul Kienzle <pkienzle@…> (06/25/16 00:23:59)
git-committer:
Paul Kienzle <pkienzle@…> (06/25/16 02:07:33)
Message:

move sasview to src/sas/sasview and refactor bundled apps for easier debugging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/local_perspectives/data_loader/data_loader.py

    rfaa3ae7 refe730d  
    99 
    1010from sas.sascalc.dataloader.loader import Loader 
     11 
     12from sas.sasgui import get_local_config 
    1113from sas.sasgui.guiframe.plugin_base import PluginBase 
    1214from sas.sasgui.guiframe.events import StatusEvent 
    1315from sas.sasgui.guiframe.gui_style import GUIFRAME 
    1416from sas.sasgui.guiframe.gui_manager import DEFAULT_OPEN_FOLDER 
    15 try: 
    16     # Try to find a local config 
    17     import imp 
    18     path = os.getcwd() 
    19     if(os.path.isfile("%s/%s.py" % (path, 'local_config'))) or \ 
    20         (os.path.isfile("%s/%s.pyc" % (path, 'local_config'))): 
    21         fObj, path, descr = imp.find_module('local_config', [path]) 
    22         config = imp.load_module('local_config', fObj, path, descr) 
    23     else: 
    24         # Try simply importing local_config 
    25         import local_config as config 
    26 except: 
    27     # Didn't find local config, load the default 
    28     import sas.sasgui.guiframe.config as config 
    29  
    30 if config is None: 
    31     import sas.sasgui.guiframe.config as config 
    32  
    33  
     17 
     18config = get_local_config() 
    3419extension_list = [] 
    3520if config.APPLICATION_STATE_EXTENSION is not None: 
Note: See TracChangeset for help on using the changeset viewer.