Changeset e4bf271 in sasmodels


Ignore:
Timestamp:
Oct 10, 2016 3:57:25 PM (8 years ago)
Author:
mathieu
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3b681fa
Parents:
234c532
Message:

Make sure plug-ins work with multiplication model. Re #751

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r689b7c4 re4bf271  
    125125        if not hasattr(model, 'filename'): 
    126126            model.filename = kernel_module.__file__ 
     127        if not hasattr(model, 'id'): 
     128            model.id = splitext(basename(model.filename))[0] 
    127129    except AttributeError: 
    128130        model_info = modelinfo.make_model_info(kernel_module) 
Note: See TracChangeset for help on using the changeset viewer.