Changeset f691fac in sasmodels
- Timestamp:
- Mar 28, 2019 11:13:25 AM (6 years ago)
- Branches:
- master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
- Children:
- 6808ffe
- Parents:
- 9562dd2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/model_test.py
rf942f4d rf691fac 247 247 platform=self.platform) 248 248 # run the tests 249 self.info = ps_model.info250 #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])252 249 results.append(self.run_one(ps_model, ps_test)) 253 250 … … 307 304 """Run a single test case.""" 308 305 user_pars, x, y = test[:3] 309 pars = expand_pars( self.info.parameters, user_pars)310 invalid = invalid_pars( self.info.parameters, pars)306 pars = expand_pars(model.info.parameters, user_pars) 307 invalid = invalid_pars(model.info.parameters, pars) 311 308 if invalid: 312 309 raise ValueError("Unknown parameters in test: " + ", ".join(invalid))
Note: See TracChangeset
for help on using the changeset viewer.