Changeset 03582f9 in sasmodels


Ignore:
Timestamp:
Feb 6, 2016 8:14:10 AM (8 years ago)
Author:
butler
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:
d368d21
Parents:
61fd21d
Message:

Add binary_hard_sphere to list that does not have a scale factor added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    r6458608 r03582f9  
    9898    # Note: update compare.constrain_pars to match 
    9999    name = model_definition.name 
    100     if name in ('teubner_strey', 'broad_peak', 'two_lorentzian', 'gel_fit'): 
     100    if name in ('teubner_strey', 'broad_peak', 'two_lorentzian', 'gel_fit', 
     101                'binary_hard_sphere'): 
    101102        if oldpars.pop('scale', 1.0) != 1.0: 
    102103            warnings.warn("parameter scale not used in sasview %s"%name) 
Note: See TracChangeset for help on using the changeset viewer.