Changeset 2c74c11 in sasmodels for sasmodels/convert.py
- Timestamp:
- Jul 24, 2016 8:56:45 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:
- a4280bd
- Parents:
- f1765a2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/convert.py
rf1765a2 r2c74c11 282 282 suppress_magnetism = False 283 283 for key in pars.keys(): 284 suppress_magnetism = suppress_magnetism or (pars[key] != 0)285 284 if key.startswith("M0:"): 285 suppress_magnetism = suppress_magnetism or (pars[key] != 0) 286 286 pars[key] = 0 287 287 if suppress_magnetism:
Note: See TracChangeset
for help on using the changeset viewer.