Changeset 8795b6f in sasmodels


Ignore:
Timestamp:
Mar 28, 2019 3:25:08 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
Children:
e220acc
Parents:
db1d9d5
Message:

suppress debug statements so we can merge to master

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/model_test.py

    r3709366 r8795b6f  
    307307            """Run a single test case.""" 
    308308            user_pars, x, y = test[:3] 
    309             print("PS MODEL PARAMETERS:",[p.id for p in model.info.parameters.call_parameters]) 
     309            #print("PS MODEL PARAMETERS:",[p.id for p in model.info.parameters.call_parameters]) 
    310310            pars = expand_pars(model.info.parameters, user_pars) 
    311311            invalid = invalid_pars(model.info.parameters, pars) 
  • sasmodels/product.py

    ra34b811 r8795b6f  
    284284        #print(p_npars,s_npars) 
    285285        radius_type_offset = 2+p_npars+s_npars + (1 if have_beta_mode else 0) 
    286         print(values[radius_type_offset]) 
     286        #print(values[radius_type_offset]) 
    287287        radius_type = int(values[radius_type_offset]) if have_radius_type else 0 
    288288 
     
    342342        # polydispersity distribution slot in the values array due to 
    343343        # implementation details in kernel_iq.c. 
    344         print("R_eff=%d:%g, volfrac=%g, volume ratio=%g" 
    345               % (radius_type, radius_effective, volfrac, volume_ratio)) 
     344        #print("R_eff=%d:%g, volfrac=%g, volume ratio=%g" 
     345        #      % (radius_type, radius_effective, volfrac, volume_ratio)) 
    346346        if radius_type > 0: 
    347347            # set the value to the model R_eff and set the weight to 1 
     
    358358 
    359359        # Combine form factor and structure factor 
    360         print("beta", beta_mode, F1, F2, S) 
     360        #print("beta", beta_mode, F1, F2, S) 
    361361        PS = F2 + F1**2*(S-1) if beta_mode else F2*S 
    362362        final_result = combined_scale*PS + background 
Note: See TracChangeset for help on using the changeset viewer.