Changeset 6458608 in sasmodels


Ignore:
Timestamp:
Jan 20, 2016 2:03:29 PM (9 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
0420af7, 3a45c2c
Parents:
14ba6f6
Message:

fix compare for scale=None

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare_many.py

    ra7f909a r6458608  
    164164    model = sys.argv[1] 
    165165    if not (model in MODELS) and (model != "all"): 
    166         print('Bad model %s.  Use "all" or one of:') 
     166        print('Bad model %s.  Use "all" or one of:'%model) 
    167167        print_models() 
    168168        sys.exit(1) 
  • sasmodels/convert.py

    r30b4ddf r6458608  
    7575    for new, old in mapping.items(): 
    7676        for pd, dot in PD_DOT: 
    77             if old+pd == new+dot: 
     77            if old and old+pd == new+dot: 
    7878                continue 
    7979            if new+pd in newpars: 
Note: See TracChangeset for help on using the changeset viewer.