Changeset 4341dd4 in sasmodels


Ignore:
Timestamp:
Jul 17, 2018 11:31:47 AM (5 weeks ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, ESS_GUI, beta_approx, beta_approx_lazy_results, beta_approx_new_R_eff, doc_update, ticket-1104-resolution, ticket-1142-plugin-reload, ticket-1148-Sq-scale-background, ticket-608-user-defined-weights
Children:
1a8c11c
Parents:
af7a97c
Message:

no need to create custom model directory if it doesn't already exist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/core.py

    r3221de0 r4341dd4  
    3737if CUSTOM_MODEL_PATH == "": 
    3838    CUSTOM_MODEL_PATH = joinpath(os.path.expanduser("~"), ".sasmodels", "custom_models") 
    39     if not os.path.isdir(CUSTOM_MODEL_PATH): 
    40         os.makedirs(CUSTOM_MODEL_PATH) 
     39    #if not os.path.isdir(CUSTOM_MODEL_PATH): 
     40    #    os.makedirs(CUSTOM_MODEL_PATH) 
    4141 
    4242# TODO: refactor composite model support 
Note: See TracChangeset for help on using the changeset viewer.