Changeset d1c4760 in sasmodels for sasmodels/compare.py
- Timestamp:
- Mar 29, 2016 1:55:57 PM (8 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:
- d0876c9d
- Parents:
- ce896fd (diff), 1448a6cd (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
rd19962c rd1c4760 784 784 n1 = int(args[1]) if len(args) > 1 else 1 785 785 n2 = int(args[2]) if len(args) > 2 else 1 786 use_sasview = any(engine=='sasview' and count>0 787 for engine, count in zip(engines, [n1, n2])) 786 788 787 789 # Get demo parameters from model definition, or use default parameters … … 811 813 #import pprint; pprint.pprint(model_info) 812 814 constrain_pars(model_info, pars) 813 constrain_new_to_old(model_info, pars) 815 if use_sasview: 816 constrain_new_to_old(model_info, pars) 814 817 if opts['show_pars']: 815 818 print(str(parlist(model_info, pars, opts['is2d'])))
Note: See TracChangeset
for help on using the changeset viewer.