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