Changeset 1d4017a in sasmodels


Ignore:
Timestamp:
Jan 28, 2016 4:39:54 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:
2c1bb7b0
Parents:
d4666ca
Message:

add command for list all parameters in all models

Location:
sasmodels
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    r841753c r1d4017a  
    608608def columnize(L, indent="", width=79): 
    609609    """ 
    610     Format a list of strings into columns for printing. 
     610    Format a list of strings into columns. 
     611 
     612    Returns a string with carriage returns ready for printing. 
    611613    """ 
    612614    column_width = max(len(w) for w in L) + 1 
  • sasmodels/core.py

    rd15a908 r1d4017a  
    3838    """ 
    3939    Load a model definition given the model name. 
     40 
     41    This returns a handle to the module defining the model.  This can be 
     42    used with functions in generate to build the docs or extract model info. 
    4043    """ 
    4144    __import__('sasmodels.models.'+model_name) 
Note: See TracChangeset for help on using the changeset viewer.