Ignore:
Timestamp:
Jun 25, 2016 4: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 02:23:59)
git-committer:
Paul Kienzle <pkienzle@…> (06/25/16 04: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/acknowledgebox.py

    rd85c194 refe730d  
    88__revision__ = "$Revision: 1193 $" 
    99 
     10import os 
     11 
    1012import wx 
    1113import wx.richtext 
    1214import wx.lib.hyperlink 
    13 import random 
    14 import os.path 
    15 import os 
    16 try: 
    17     # Try to find a local config 
    18     import imp 
    19     path = os.getcwd() 
    20     if(os.path.isfile("%s/%s.py" % (path, 'local_config'))) or \ 
    21       (os.path.isfile("%s/%s.pyc" % (path, 'local_config'))): 
    22         fObj, path, descr = imp.find_module('local_config', [path]) 
    23         config = imp.load_module('local_config', fObj, path, descr) 
    24     else: 
    25         # Try simply importing local_config 
    26         import local_config as config 
    27 except: 
    28     # Didn't find local config, load the default 
    29     import config 
    3015 
     16from sas.sasgui import get_local_config 
     17config = get_local_config() 
    3118 
    3219class DialogAcknowledge(wx.Dialog): 
Note: See TracChangeset for help on using the changeset viewer.