Changeset fb5914f in sasmodels for sasmodels/modelinfo.py
- Timestamp:
- Mar 30, 2016 1:34:16 AM (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:
- 7a1143b, 3a45c2c
- Parents:
- ce896fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/modelinfo.py
rce896fd rfb5914f 432 432 if p.polydisperse and p.type != 'magnetic') 433 433 434 def user_parameters(self, pars , is2d):434 def user_parameters(self, pars={}, is2d=True): 435 435 """ 436 436 Return the list of parameters for the given data type. … … 493 493 if table: 494 494 # look up length from incoming parameters 495 table_length = int(pars [p.length_control])495 table_length = int(pars.get(p.length_control, p.length)) 496 496 del dependent[p.length_control] # first entry seen 497 497 for k in range(1, table_length+1):
Note: See TracChangeset
for help on using the changeset viewer.