Changes in / [197260f:273a6d7] in sasview


Ignore:
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • docs/sphinx-docs/build_sphinx.py

    r5420ef6 r6de5e10  
    150150    if os.path.exists(SASMODELS_SOURCE_IMG): 
    151151        print "Found img  folder SASMODELS_SOURCE_IMG    at ", SASMODELS_SOURCE_IMG 
    152         if os.path.exists(SASMODELS_DEST_IMG): 
    153             print "Found img  folder SASMODELS_DEST_IMG      at ", SASMODELS_DEST_IMG 
    154             print "Copying sasmodels model image files..." 
    155             for files in os.listdir(SASMODELS_SOURCE_IMG): 
    156                 fromhere=os.path.join(SASMODELS_SOURCE_IMG,files) 
    157                 tohere=os.path.join(SASMODELS_DEST_IMG,files) 
    158                 shutil.copy(fromhere,tohere) 
     152        if not os.path.exists(SASMODELS_DEST_IMG): 
     153            print "Missing docs folder SASMODELS_DEST_IMG at ", SASMODELS_DEST_IMG 
     154            os.makedirs(SASMODELS_DEST_IMG) 
     155            print "created SASMODELS_DEST_BUILDIMG at ", SASMODELS_DEST_BUILDIMG 
     156        else: print "Found img  folder SASMODELS_DEST_IMG      at ", SASMODELS_DEST_IMG 
     157        print "Copying sasmodels model image files..." 
     158        for files in os.listdir(SASMODELS_SOURCE_IMG): 
     159            fromhere=os.path.join(SASMODELS_SOURCE_IMG,files) 
     160            tohere=os.path.join(SASMODELS_DEST_IMG,files) 
     161            shutil.copy(fromhere,tohere) 
     162    else: print "cannot find SASMODELS_SOURCE_IMG", SASMODELS_SOURCE_IMG 
    159163 
    160164    if os.path.exists(SASMODELS_SOURCE_AUTOIMG): 
    161165        print "Found img  folder SASMODELS_SOURCE_AUTOIMG    at ", SASMODELS_SOURCE_AUTOIMG 
    162         if os.path.exists(SASMODELS_DEST_IMG): 
    163             print "Copying sasmodels model auto-generated image files..." 
    164             for files in os.listdir(SASMODELS_SOURCE_AUTOIMG): 
    165                 fromhere=os.path.join(SASMODELS_SOURCE_AUTOIMG,files) 
    166                 tohere=os.path.join(SASMODELS_DEST_IMG,files) 
    167                 shutil.copy(fromhere,tohere) 
     166        if not os.path.exists(SASMODELS_DEST_IMG): 
     167            print "Missing docs folder SASMODELS_DEST_IMG at ", ASMODELS_DEST_IMG 
     168            os.makedirs(SASMODELS_DEST_BUILDIMG) 
     169            print "created SASMODELS_DEST_BUILDIMG at ", SASMODELS_DEST_BUILDIMG 
     170        print "Copying sasmodels model auto-generated image files..." 
     171        for files in os.listdir(SASMODELS_SOURCE_AUTOIMG): 
     172            fromhere=os.path.join(SASMODELS_SOURCE_AUTOIMG,files) 
     173            tohere=os.path.join(SASMODELS_DEST_IMG,files) 
     174            shutil.copy(fromhere,tohere) 
     175        else: print "no source directorty",SASMODELS_SOURCE_AUTOIMG ,"was found" 
    168176     
    169177    # And the rst prolog with the unit substitutions 
  • docs/sphinx-docs/source/user/sasgui/perspectives/fitting/optimizer.rst

    r49148bb re81f6dd  
    404404Like differential evolution, DREAM will evaluate $k$ points in parallel, 
    405405where $k$ is the size of the population. 
     406 
     407.. _option-burn: 
    406408 
    407409Options 
  • docs/sphinx-docs/source/user/shape-sphere.rst

    r61991ed r5e15bca  
    1212    models/adsorbed_layer.rst 
    1313    models/binary_hard_sphere.rst 
     14    models/core_multi_shell.rst 
    1415    models/core_shell_sphere.rst 
    1516    models/fuzzy_sphere.rst 
  • src/sas/sascalc/calculator/BaseComponent.py

    r74c5521 r53aa66d  
    119119            q = [q[0], q[1], q[2], ....] 
    120120 
    121         ..note:: 
    122           Due to 2D speed issue, no anisotropic scattering 
    123           is supported for python models, thus C-models should have 
    124           their own evalDistribution methods. 
     121        .. note:: Due to 2D speed issue, no anisotropic scattering 
     122                  is supported for python models, thus C-models should have 
     123                  their own evalDistribution methods. 
    125124 
    126125        The method is then called the following way: :: 
  • src/sas/sasgui/guiframe/data_processor.py

    r74c5521 r468c253  
    1010The organization of the classes goes as: 
    1111 
    12 #Path to this is:           /sasview/src/sas/sasgui/guiframe/data_processor.py 
    13 #Path to image is:          /sasview/src/sas/sasgui/guiframe/media/BatchGridClassLayout.png 
    14  
    15 .. image:: ./guiframe/media/BatchGridClassLayout.png 
     12.. note:: Path to this is: /sasview/src/sas/sasgui/guiframe/data_processor.py 
     13 
     14.. note:: Path to image is: /sasview/src/sas/sasgui/guiframe/media/BatchGridClassLayout.png 
     15 
     16.. image:: ../../user/sasgui/guiframe/BatchGridClassLayout.png 
    1617   :align: center 
    1718 
     
    156157        attribute. 
    157158 
    158         NOTE: There is no need to override this if you don't need 
    159         to do something out of the ordinary. 
     159        .. note:: There is no need to override this if you don't need 
     160                  to do something out of the ordinary. 
    160161 
    161162        :param dc: the wxDC object for the paint 
Note: See TracChangeset for help on using the changeset viewer.