Changeset 777146c in sasview


Ignore:
Timestamp:
Apr 11, 2017 4:31:56 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:
09983d1
Parents:
a5a74e9
Message:

Added debug info to see what's happening 2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/logger_config.py

    ra5a74e9 r777146c  
    5959        places_to_look_for_conf_file = [ 
    6060            os.path.join(os.path.abspath(os.path.dirname(__file__)), filename), 
    61             os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", filename), 
    62             os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..", filename), 
     61            filename, 
     62            os.path.join("sas", "sasview", filename), 
     63            os.path.join(os.getcwd(), "sas", "sasview", filename), 
    6364        ] 
    6465 
     
    7172            pass 
    7273 
     74        print("Running python in: %s"%os.getcwd()) 
     75        print("Full path for %s is: %s"%(__file__, os.path.dirname(__file__))) 
     76 
    7377        for filepath in places_to_look_for_conf_file: 
    7478            print("Checking if path exists: %s"%filepath) 
Note: See TracChangeset for help on using the changeset viewer.