Changeset 799963c in sasview for run.py


Ignore:
Timestamp:
Aug 13, 2018 11:13:27 AM (6 years ago)
Author:
Torin Cooper-Bennun <torin.cooper-bennun@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
328f2ef
Parents:
ecfe6b6
git-author:
Torin Cooper-Bennun <torin.cooper-bennun@…> (08/13/18 11:12:53)
git-committer:
Torin Cooper-Bennun <torin.cooper-bennun@…> (08/13/18 11:13:27)
Message:

add user config flag for disabling DEBUG logs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • run.py

    rdb05c44 r799963c  
    155155    # so logging can be done during initialization process too 
    156156    root = abspath(dirname(realpath(sys.argv[0]))) 
    157     addpath(joinpath(root, 'src','sas')) 
    158     from logger_config import SetupLogger 
     157 
     158    addpath(joinpath(root, 'src')) 
     159    addpath(joinpath(root, '../sasmodels/')) # dependency (for loading custom_config.py during log setup) 
     160 
     161    from sas.logger_config import SetupLogger 
    159162    logger = SetupLogger(__name__).config_development() 
    160163 
Note: See TracChangeset for help on using the changeset viewer.