Changeset d3ffeb7 in sasmodels for sasmodels/sasview_model.py


Ignore:
Timestamp:
Aug 20, 2018 9:16:06 AM (6 years ago)
Author:
Torin Cooper-Bennun <torin.cooper-bennun@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
d32de68
Parents:
bad3093
Message:

beta_mode takes choices from units; lazy results implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    rd533590 rd3ffeb7  
    381381                continue 
    382382            self.params[p.name] = p.default 
    383             self.details[p.id] = [p.units, p.limits[0], p.limits[1]] 
     383            self.details[p.id] = [p.units if not p.choices else p.choices, p.limits[0], p.limits[1]] 
    384384            if p.polydisperse: 
    385385                self.details[p.id+".width"] = [ 
Note: See TracChangeset for help on using the changeset viewer.