Changeset a936688 in sasmodels for sasmodels/generate.py


Ignore:
Timestamp:
Apr 13, 2016 8:45:00 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:
81ec7c8
Parents:
416609b
Message:

update sasview wrapper so that model details are class attributes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/generate.py

    re6408d0 ra936688  
    679679    * *single* is True if the model allows single precision 
    680680    * *structure_factor* is True if the model is useable in a product 
    681     * *variant_info* contains the information required to select between 
    682       model variants (e.g., the list of cases) or is None if there are no 
    683       model variants 
    684681    * *defaults* is the *{parameter: value}* table built from the parameter 
    685682      description table. 
     
    721718        single=getattr(kernel_module, 'single', True), 
    722719        structure_factor=getattr(kernel_module, 'structure_factor', False), 
    723         variant_info=getattr(kernel_module, 'invariant_info', None), 
     720        control=getattr(kernel_module, 'control', None), 
    724721        demo=getattr(kernel_module, 'demo', None), 
    725722        source=getattr(kernel_module, 'source', []), 
Note: See TracChangeset for help on using the changeset viewer.