Changeset d8e81f7 in sasmodels for sasmodels/model_test.py


Ignore:
Timestamp:
Mar 28, 2019 9:49:06 AM (5 years ago)
Author:
ajj
Branches:
master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
Children:
6140894
Parents:
b39bf3b (diff), 2ed7de0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'ticket_822_v5_unit_tests' of https://github.com/SasView/sasmodels into ticket_822_v5_unit_tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/model_test.py

    rb39bf3b rd8e81f7  
    247247                                           platform=self.platform) 
    248248                    # run the tests 
     249<<<<<<< HEAD 
    249250                    #self.info = ps_model.info 
    250251                    #print("SELF.INFO PARAMS!!!",[p.id for p in self.info.parameters.call_parameters]) 
    251252                    #print("PS MODEL PARAMETERS:",[p.id for p in ps_model.info.parameters.call_parameters]) 
     253======= 
     254>>>>>>> 2ed7de04217c5103c5fd8d7c14e29e04923269d5 
    252255                    results.append(self.run_one(ps_model, ps_test)) 
    253256 
     
    394397    invalid = [] 
    395398    for par in sorted(pars.keys()): 
    396         # special handling of R_eff mode, which is not a usual parameter 
     399        # Ignore the R_eff mode parameter when checking for valid parameters. 
     400        # It is an allowed parameter for a model even though it does not exist 
     401        # in the parameter table.  The call_Fq() function pops it from the 
     402        # parameter list and sends it directly to kernel.Fq(). 
    397403        if par == product.RADIUS_MODE_ID: 
    398             continue 
    399         if par == product.RADIUS_TYPE_ID: 
    400             continue 
    401         if par == product.STRUCTURE_MODE_ID: 
    402404            continue 
    403405        parts = par.split('_pd') 
Note: See TracChangeset for help on using the changeset viewer.