Changeset ea05c87 in sasmodels for sasmodels/generate.py


Ignore:
Timestamp:
Apr 4, 2016 6:47:27 PM (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:
1e2a1ba
Parents:
9d96649 (diff), ec45c4f (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/models/spherical_sld.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/generate.py

    r68e7f9d rea05c87  
    122122    parameter list.  *demo* is mostly needed to set the default 
    123123    polydispersity values for tests. 
    124  
    125     *oldname* is the name of the model in sasview before sasmodels 
    126     was split into its own package, and *oldpars* is a dictionary 
    127     of *parameter: old_parameter* pairs defining the new names for 
    128     the parameters.  This is used by *compare* to check the values 
    129     of the new model against the values of the old model before 
    130     you are ready to add the new model to sasmodels. 
    131  
    132124 
    133125An *model_info* dictionary is constructed from the kernel meta data and 
     
    710702      implementing the kernel for the module, or None if they are not 
    711703      defined in python 
    712     * *oldname* is the model name in pre-4.0 Sasview 
    713     * *oldpars* is the *{new: old}* parameter translation table 
    714       from pre-4.0 Sasview 
    715704    * *composition* is None if the model is independent, otherwise it is a 
    716705      tuple with composition type ('product' or 'mixture') and a list of 
     
    742731        demo=getattr(kernel_module, 'demo', None), 
    743732        source=getattr(kernel_module, 'source', []), 
    744         oldname=getattr(kernel_module, 'oldname', None), 
    745         oldpars=getattr(kernel_module, 'oldpars', {}), 
    746733        tests=getattr(kernel_module, 'tests', []), 
    747734        ) 
Note: See TracChangeset for help on using the changeset viewer.