Changeset 15c80af in sasmodels
- Timestamp:
- Jan 29, 2019 11:26:26 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- b171acd
- Parents:
- d61465c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/mixture.py
recf895e r15c80af 34 34 # Build new parameter list 35 35 combined_pars = [] 36 control = None 36 37 37 38 all_parts = copy(parts) … … 116 117 p.length_control = prefix + p.length_control 117 118 combined_pars.append(p) 119 if p.is_control and control is None: 120 control = p.id 118 121 parameters = ParameterTable(combined_pars) 119 122 parameters.max_pd = sum(part.parameters.max_pd for part in parts) … … 129 132 model_info = ModelInfo() 130 133 model_info.id = operation.join(part.id for part in parts) 134 model_info.control = control 131 135 model_info.operation = operation 132 136 model_info.name = '(' + operation.join(part.name for part in parts) + ')'
Note: See TracChangeset
for help on using the changeset viewer.