Changeset 4341dd4 in sasmodels


Ignore:
Timestamp:
Jul 17, 2018 9:31:47 AM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
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.