Changeset 83eb5208 in sasview for src/sas/qtgui/Utilities


Ignore:
Timestamp:
Apr 19, 2017 3:58:36 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
cd2cc745
Parents:
6c8fb2c
Message:

Putting files in more ordered fashion

Location:
src/sas/qtgui/Utilities
Files:
2 added
6 moved

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Utilities/GuiUtils.py

    r7d077d1 r83eb5208  
    8888        pass 
    8989        #logging.error("Error loading %s/%s: %s" % (path, confg_file, sys.exc_value)) 
     90    except ValueError: 
     91        print "Value error" 
     92        pass 
    9093    finally: 
    9194        if fObj is not None: 
     
    117120    #logging.info("found local_config in %s", PATH_APP) 
    118121 
    119  
    120122from sas.sasgui.guiframe.customdir  import SetupCustom 
    121123c_conf_dir = SetupCustom().setup_dir(PATH_APP) 
     124 
    122125custom_config = _find_local_config('custom_config', c_conf_dir) 
    123126if custom_config is None: 
  • src/sas/qtgui/Utilities/UnitTesting/GuiUtilsTest.py

    r965fbd8 r83eb5208  
    88 
    99# set up import paths 
    10 import path_prepare 
     10import sas.qtgui.path_prepare 
    1111 
    1212# SV imports 
     
    1717 
    1818# Tested module 
    19 from GuiUtils import * 
     19from sas.qtgui.Utilities.GuiUtils import * 
    2020 
    2121app = QtGui.QApplication(sys.argv) 
  • src/sas/qtgui/Utilities/UnitTesting/SasviewLoggerTest.py

    r31c5b58 r83eb5208  
    77 
    88# set up import paths 
    9 import path_prepare 
     9import sas.qtgui.path_prepare 
    1010 
    1111# Local 
    12 from SasviewLogger import XStream 
    13 from SasviewLogger import QtHandler 
     12from sas.qtgui.Utilities.SasviewLogger import XStream 
     13from sas.qtgui.Utilities.SasviewLogger import QtHandler 
    1414 
    1515app = QApplication(sys.argv) 
Note: See TracChangeset for help on using the changeset viewer.