Changeset bd49c79 in sasmodels for sasmodels/convert.py
- Timestamp:
- Aug 4, 2016 2:47:27 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:
- 54bcd4a
- Parents:
- e1d6983
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/convert.py
r0dd4199 rbd49c79 159 159 # Remove control parameter from the result 160 160 if model_info.control: 161 translation[model_info.control] = None161 translation[model_info.control] = "CONTROL" 162 162 return translation 163 163 … … 191 191 oldpars = _trim_vectors(model_info, pars, oldpars) 192 192 193 # Make sure the control parameter is an integer 194 if "CONTROL" in oldpars: 195 oldpars["CONTROL"] = int(oldpars["CONTROL"]) 193 196 194 197 # Note: update compare.constrain_pars to match
Note: See TracChangeset
for help on using the changeset viewer.