Changeset d2d6100 in sasmodels
- Timestamp:
- Jul 28, 2016 7:51:51 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:
- 20317b3
- Parents:
- 7f1ee79
- Location:
- sasmodels
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/core.py
r0b03001 rd2d6100 62 62 Return the list of available models on the model path. 63 63 """ 64 KINDS = ("all", "py", "c", "double", " oriented", "magnetic")64 KINDS = ("all", "py", "c", "double", "single", "1d", "2d", "nonmagnetic", "magnetic") 65 65 if kind and kind not in KINDS: 66 66 raise ValueError("kind not in "+", ".join(KINDS)) … … 83 83 elif kind == "double" and not info.single: 84 84 return True 85 elif kind == "oriented" and any(p.type=='orientation' for p in pars): 85 elif kind == "single" and info.single: 86 return True 87 elif kind == "2d" and any(p.type=='orientation' for p in pars): 88 return True 89 elif kind == "1d" and any(p.type!='orientation' for p in pars): 86 90 return True 87 91 elif kind == "magnetic" and any(p.type=='sld' for p in pars): 92 return True 93 elif kind == "nonmagnetic" and any(p.type!='sld' for p in pars): 88 94 return True 89 95 return False -
sasmodels/models/linear_pearls.py
r42356c8 rd2d6100 61 61 ] 62 62 # pylint: enable=bad-whitespace, line-too-long 63 single=False 63 64 64 65 source = ["linear_pearls.c"] -
sasmodels/models/polymer_micelle.py
r42356c8 rd2d6100 51 51 # pylint: enable=bad-whitespace, line-too-long 52 52 53 single = False 54 53 55 source = ["lib/sph_j1c.c", "polymer_micelle_kernel.c"] 54 56
Note: See TracChangeset
for help on using the changeset viewer.