Changeset a5a74e9 in sasview


Ignore:
Timestamp:
Apr 11, 2017 4:00:47 AM (8 years ago)
Author:
Ricardo Ferraz Leal <ricleal@…>
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, costrafo411, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
777146c
Parents:
cfa88ee
Message:

Added debug info to see what's happening

Location:
sasview
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasview/logger_config.py

    re6a3c6c ra5a74e9  
    6767        try: 
    6868            places_to_look_for_conf_file.append( 
    69                 pkg_resources.resource_filename("tempfile", filename)) 
     69                pkg_resources.resource_filename(__name__, filename)) 
    7070        except NotImplementedError: 
    7171            pass 
    7272 
    7373        for filepath in places_to_look_for_conf_file: 
     74            print("Checking if path exists: %s"%filepath) 
    7475            if os.path.exists(filepath): 
    7576                self.config_file = filepath 
  • sasview/sasview.py

    r63c7d581 ra5a74e9  
    2121from sas.sasview.logger_config import SetupLogger 
    2222 
    23 l = SetupLogger(__name__) 
    24 logger = l.config_production() 
     23logger = SetupLogger(__name__).config_production() 
    2524 
    2625# Log the start of the session 
Note: See TracChangeset for help on using the changeset viewer.