Changeset 1e2a1ba in sasmodels for sasmodels/core.py
- Timestamp:
- Apr 5, 2016 10:06:36 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:
- d2bb604
- Parents:
- ea05c87 (diff), 4d76711 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
r68e7f9d r1e2a1ba 38 38 return [np.asarray(v) for v in args] 39 39 40 # TODO: refactor composite model support 41 # The current load_model_info/build_model does not reuse existing model 42 # definitions when loading a composite model, instead reloading and 43 # rebuilding the kernel for each component model in the expression. This 44 # is fine in a scripting environment where the model is built when the script 45 # starts and is thrown away when the script ends, but may not be the best 46 # solution in a long-lived application. This affects the following functions: 47 # 48 # load_model 49 # load_model_info 50 # build_model 51 40 52 def list_models(): 41 53 """ … … 60 72 """ 61 73 return build_model(load_model_info(model_name), **kw) 74 62 75 63 76 def load_model_info(model_name):
Note: See TracChangeset
for help on using the changeset viewer.