Changeset 2ed7de0 in sasmodels for sasmodels/model_test.py


Ignore:
Timestamp:
Mar 28, 2019 9:39:32 AM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
Children:
adb84f6
Parents:
6808ffe
Message:

don't need to ignore P@S parameters when checking for invalid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/model_test.py

    rf691fac r2ed7de0  
    390390    invalid = [] 
    391391    for par in sorted(pars.keys()): 
    392         # special handling of R_eff mode, which is not a usual parameter 
     392        # Ignore the R_eff mode parameter when checking for valid parameters. 
     393        # It is an allowed parameter for a model even though it does not exist 
     394        # in the parameter table.  The call_Fq() function pops it from the 
     395        # parameter list and sends it directly to kernel.Fq(). 
    393396        if par == product.RADIUS_MODE_ID: 
    394             continue 
    395         if par == product.RADIUS_TYPE_ID: 
    396             continue 
    397         if par == product.STRUCTURE_MODE_ID: 
    398397            continue 
    399398        parts = par.split('_pd') 
Note: See TracChangeset for help on using the changeset viewer.