Changeset 40a87fa in sasmodels for sasmodels/__init__.py


Ignore:
Timestamp:
Aug 8, 2016 9:24:11 AM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
2472141
Parents:
2d65d51
Message:

lint and latex cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/__init__.py

    r32e3c9b r40a87fa  
    2828    from .generate import EXTERNAL_DIR, DATA_PATH 
    2929 
    30     def expand_patterns(path, patterns): 
     30    def _expand_patterns(path, patterns): 
    3131        target_path = joinpath(EXTERNAL_DIR, *path) 
    3232        source_path = joinpath(DATA_PATH, *path) 
     
    4141    # can build model docs on the fly, including images. 
    4242    return_list = [ 
    43         expand_patterns([], ['*.c', '*.cl']), 
    44         expand_patterns(['models'], ['*.py', '*.c']), 
    45         expand_patterns(['models', 'lib'], ['*.c']), 
    46         expand_patterns(['models', 'img'], ['*.*']), 
     43        _expand_patterns([], ['*.c', '*.cl']), 
     44        _expand_patterns(['models'], ['*.py', '*.c']), 
     45        _expand_patterns(['models', 'lib'], ['*.c']), 
     46        _expand_patterns(['models', 'img'], ['*.*']), 
    4747        ] 
    4848    return return_list 
Note: See TracChangeset for help on using the changeset viewer.