Changeset 21c93c3 in sasmodels for sasmodels/sasview_model.py
- Timestamp:
- Mar 6, 2019 2:14:41 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:
- fd7291e
- Parents:
- f3767c2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/sasview_model.py
rb171acd r21c93c3 255 255 control_pars = [p.id for p in model_info.parameters.kernel_parameters 256 256 if p.is_control] 257 control = control_pars[0] if control_pars else None257 control_id = control_pars[0] if control_pars else None 258 258 non_fittable = [] # type: List[str] 259 259 xlabel = model_info.profile_axes[0] if model_info.profile is not None else "" 260 260 variants = MultiplicityInfo(0, "", [], xlabel) 261 261 for p in model_info.parameters.kernel_parameters: 262 if p.id == control :262 if p.id == control_id: 263 263 non_fittable.append(p.name) 264 264 variants = MultiplicityInfo(
Note: See TracChangeset
for help on using the changeset viewer.