Changes in sasmodels/model_test.py [2ed7de0:b39bf3b] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/model_test.py
r2ed7de0 rb39bf3b 247 247 platform=self.platform) 248 248 # 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]) 249 252 results.append(self.run_one(ps_model, ps_test)) 250 253 … … 304 307 """Run a single test case.""" 305 308 user_pars, x, y = test[:3] 309 print("PS MODEL PARAMETERS:",[p.id for p in model.info.parameters.call_parameters]) 306 310 pars = expand_pars(model.info.parameters, user_pars) 307 311 invalid = invalid_pars(model.info.parameters, pars) … … 390 394 invalid = [] 391 395 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 396 397 if par == product.RADIUS_MODE_ID: 398 continue 399 if par == product.RADIUS_TYPE_ID: 400 continue 401 if par == product.STRUCTURE_MODE_ID: 397 402 continue 398 403 parts = par.split('_pd')
Note: See TracChangeset
for help on using the changeset viewer.