Changeset f80f334 in sasmodels


Ignore:
Timestamp:
Nov 18, 2016 1:52:13 PM (8 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:
d2fb4af, 3a45c2c
Parents:
6245e42
Message:

In method convert_model the translation map should always be a dictionary.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    rf8f5a37 rf80f334  
    293293        # Can't use _get_translation_table since that will return the 'bare' 
    294294        # version. 
    295         translation = CONVERSION_TABLE[newname] 
     295        translation = CONVERSION_TABLE[newname][1] 
    296296    else: 
    297297        model_info = load_model_info(newname) 
Note: See TracChangeset for help on using the changeset viewer.