Changes in sasmodels/model_test.py [2ed7de0:b39bf3b] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/model_test.py

    r2ed7de0 rb39bf3b  
    247247                                           platform=self.platform) 
    248248                    # run the tests 
     249                    #self.info = ps_model.info 
     250                    #print("SELF.INFO PARAMS!!!",[p.id for p in self.info.parameters.call_parameters]) 
     251                    #print("PS MODEL PARAMETERS:",[p.id for p in ps_model.info.parameters.call_parameters]) 
    249252                    results.append(self.run_one(ps_model, ps_test)) 
    250253 
     
    304307            """Run a single test case.""" 
    305308            user_pars, x, y = test[:3] 
     309            print("PS MODEL PARAMETERS:",[p.id for p in model.info.parameters.call_parameters]) 
    306310            pars = expand_pars(model.info.parameters, user_pars) 
    307311            invalid = invalid_pars(model.info.parameters, pars) 
     
    390394    invalid = [] 
    391395    for par in sorted(pars.keys()): 
    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(). 
     396        # special handling of R_eff mode, which is not a usual parameter 
    396397        if par == product.RADIUS_MODE_ID: 
     398            continue 
     399        if par == product.RADIUS_TYPE_ID: 
     400            continue 
     401        if par == product.STRUCTURE_MODE_ID: 
    397402            continue 
    398403        parts = par.split('_pd') 
Note: See TracChangeset for help on using the changeset viewer.