Changeset 1e2a1ba in sasmodels for sasmodels/core.py


Ignore:
Timestamp:
Apr 5, 2016 10:06:36 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:
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.
Message:

Merge remote-tracking branch 'origin/master' into polydisp

Conflicts:

sasmodels/core.py
sasmodels/custom/init.py
sasmodels/direct_model.py
sasmodels/generate.py
sasmodels/kernelpy.py
sasmodels/sasview_model.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/core.py

    r68e7f9d r1e2a1ba  
    3838            return [np.asarray(v) for v in args] 
    3939 
     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 
    4052def list_models(): 
    4153    """ 
     
    6072    """ 
    6173    return build_model(load_model_info(model_name), **kw) 
     74 
    6275 
    6376def load_model_info(model_name): 
Note: See TracChangeset for help on using the changeset viewer.