Changeset 07c8d46 in sasmodels for sasmodels/convert.py


Ignore:
Timestamp:
Jan 25, 2017 9:18:31 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:
3a45c2c
Parents:
8ccb9d4
Message:

Variable name change to remove potential conflicts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    r8ccb9d4 r07c8d46  
    9393 
    9494def _get_translation_table(model_info, version=(3,1,2)): 
    95     dict = CONVERSION_TABLE.get(version, {}).get(model_info.id, [None, {}]) 
    96     translation = dict[1].copy() 
     95    conv_param = CONVERSION_TABLE.get(version, {}).get(model_info.id, [None, {}]) 
     96    translation = conv_param[1].copy() 
    9797    for p in model_info.parameters.kernel_parameters: 
    9898        if p.length > 1: 
Note: See TracChangeset for help on using the changeset viewer.