Changeset 119fa13 in sasmodels


Ignore:
Timestamp:
Jan 13, 2017 9:44:25 AM (7 years ago)
Author:
krzywon
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
8ccb9d4
Parents:
790b16bb
Message:

Do not grab specific parts of the dictionary now that the size is variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    ra297255 r119fa13  
    153153    two variants in sasview. 
    154154    """ 
    155     for sasmodels_name, [sasview_name, _] in \ 
     155    for sasmodels_name, sasview_dict in \ 
    156156            CONVERSION_TABLE.get(version, {}).items(): 
    157         if sasview_name == model_name: 
     157        if sasview_dict[0] == model_name: 
    158158            return sasmodels_name 
    159159    return None 
Note: See TracChangeset for help on using the changeset viewer.