Changeset 5cfda00 in sasmodels


Ignore:
Timestamp:
Mar 11, 2016 7:20:42 PM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
15d2285
Parents:
fdb1487
Message:

change visible parameter list depending on selected variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/rpa.py

    rfa8011eb r5cfda00  
    133133    case_num = pars.get("case_num", parameters[0][2]) 
    134134    if case_num < 2: 
     135        return HIDE_AB 
     136    elif case_num < 5: 
    135137        return HIDE_A 
    136     elif case_num < 5: 
    137         return HIDE_AB 
    138138    else: 
    139139        return HIDE_NONE 
Note: See TracChangeset for help on using the changeset viewer.