Changeset 4b4eee1 in sasmodels for sasmodels/sasview_model.py


Ignore:
Timestamp:
Dec 5, 2016 1:36:01 PM (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:
298621b
Parents:
9eb5eca
Message:

Added versioning to convert.py for future model reparameterization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r8977226 r4b4eee1  
    5757    import sas.models 
    5858    from sasmodels.conversion_table import CONVERSION_TABLE 
    59     for new_name, conversion in CONVERSION_TABLE.items(): 
     59    for new_name, conversion in CONVERSION_TABLE.get('4.0.1').items(): 
    6060        # CoreShellEllipsoidModel => core_shell_ellipsoid:1 
    6161        new_name = new_name.split(':')[0] 
Note: See TracChangeset for help on using the changeset viewer.