Changeset f72d70a in sasmodels for sasmodels/compare.py


Ignore:
Timestamp:
Mar 7, 2017 4:44:59 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
598857b
Parents:
c68c5e9
Message:

multi-compare: slightly nicer interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    rd504bcd rf72d70a  
    321321    if '*' in name: 
    322322        name = name.split('*')[0] 
     323 
     324    # Suppress magnetism for python models (not yet implemented) 
     325    if callable(model_info.Iq): 
     326        pars.update(suppress_magnetism(pars)) 
    323327 
    324328    if name == 'barbell': 
Note: See TracChangeset for help on using the changeset viewer.