Changeset 40a87fa in sasmodels for sasmodels/__init__.py
- Timestamp:
- Aug 8, 2016 9:24:11 AM (8 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/__init__.py
r32e3c9b r40a87fa 28 28 from .generate import EXTERNAL_DIR, DATA_PATH 29 29 30 def expand_patterns(path, patterns):30 def _expand_patterns(path, patterns): 31 31 target_path = joinpath(EXTERNAL_DIR, *path) 32 32 source_path = joinpath(DATA_PATH, *path) … … 41 41 # can build model docs on the fly, including images. 42 42 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'], ['*.*']), 47 47 ] 48 48 return return_list
Note: See TracChangeset
for help on using the changeset viewer.