Changeset aa9e4e3 in sasmodels


Ignore:
Timestamp:
May 18, 2016 10:49:52 AM (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:
a7a5ff3, 88b92e1
Parents:
821a9c6
Message:

fix doc building errors

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/core.py

    rda7af35 raa9e4e3  
    22Core model handling routines. 
    33""" 
    4 __all__ = [ 
    5     "list_models", "load_model_info", "precompile_dll", 
    6     "build_model", "make_kernel", "call_kernel", "call_ER_VR", 
    7     ] 
     4#__all__ = [ 
     5#    "list_models", "load_model_info", "precompile_dll", 
     6#    "build_model", "make_kernel", "call_kernel", "call_ER_VR", 
     7#    ] 
    88 
    99import os 
     
    5959    files = sorted(glob(joinpath(root, 'models', "[a-zA-Z]*.py"))) 
    6060    if not files and os.name=='nt': 
    61         # Look inside library.zip on windows, 
    62         # being careful as the library stores only .pyc. 
     61        # Look inside library.zip on windows, 
     62        # being careful as the library stores only .pyc. 
    6363        import zipfile 
    6464        location = root[:root.find('.zip')+4] 
    6565        zf = zipfile.ZipFile(location,'r') 
    6666        for filepath in zf.namelist(): 
    67             # directory structure in library.zip uses "/" 
     67            # directory structure in library.zip uses "/" 
    6868            models_loc = "sasmodels/models" 
    6969            if models_loc in filepath: 
    7070                base = basename(filepath)[:-4] 
    71                 # Careful with non-models. 
     71                # Careful with non-models. 
    7272                if base[0] != "_": 
    7373                    available_models.append(base) 
  • sasmodels/models/squarewell.py

    rec45c4f raa9e4e3  
    1414The interaction potential is: 
    1515 
    16   .. image:: img\squarewell.png 
     16  .. image:: img/squarewell.png 
    1717 
    1818.. math:: 
Note: See TracChangeset for help on using the changeset viewer.