Changeset 55a8316 in sasmodels
- Timestamp:
- Jan 15, 2016 4:42:22 AM (9 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:
- 421e55c
- Parents:
- a7f909a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/convert.py
r716abe0 r55a8316 98 98 # Note: update compare.constrain_pars to match 99 99 name = model_definition.name 100 if name in ('teubner_strey', 'broad_peak' ):100 if name in ('teubner_strey', 'broad_peak', 'two_lorentzian'): 101 101 if oldpars.pop('scale', 1.0) != 1.0: 102 102 warnings.warn("parameter scale not used in sasview %s"%name) … … 121 121 # Note: update convert.revert_model to match 122 122 name = model_definition.name 123 if name in ('teubner_strey','broad_peak' ):123 if name in ('teubner_strey','broad_peak', 'two_lorentzian'): 124 124 pars['scale'] = 1 125 125 elif name in ('guinier',):
Note: See TracChangeset
for help on using the changeset viewer.