Changeset 01ea374 in sasmodels


Ignore:
Timestamp:
Mar 22, 2017 11:44:07 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
68dd6a9
Parents:
67595af
Message:

sascomp: add -help option equivalent to -html for showing model help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    rf72d70a r01ea374  
    8383    -edit starts the parameter explorer 
    8484    -default/-demo* use demo vs default parameters 
    85     -html shows the model docs instead of running the model 
     85    -help/-html shows the model docs instead of running the model 
    8686    -title="note" adds note to the plot title, after the model name 
    8787 
     
    829829    'linear', 'log', 'q4', 
    830830    'hist', 'nohist', 
    831     'edit', 'html', 
     831    'edit', 'html', 'help', 
    832832    'demo', 'default', 
    833833    ]) 
     
    996996        elif arg == '-default':    opts['use_demo'] = False 
    997997        elif arg == '-html':    opts['html'] = True 
     998        elif arg == '-help':    opts['html'] = True 
    998999    # pylint: enable=bad-whitespace 
    9991000 
Note: See TracChangeset for help on using the changeset viewer.