Changeset 3d9001f in sasmodels
- Timestamp:
- Aug 9, 2016 6:27:00 PM (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:
- 672978c
- Parents:
- ec87470
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
r2547694 r3d9001f 66 66 if kind and kind not in KINDS: 67 67 raise ValueError("kind not in " + ", ".join(KINDS)) 68 root = dirname(__file__) 69 files = sorted(glob(joinpath(root, 'models', "[a-zA-Z]*.py"))) 68 files = sorted(glob(joinpath(generate.MODEL_PATH, "[a-zA-Z]*.py"))) 70 69 available_models = [basename(f)[:-3] for f in files] 71 70 selected = [name for name in available_models if _matches(name, kind)]
Note: See TracChangeset
for help on using the changeset viewer.