Ignore:
Timestamp:
Jul 26, 2015 4:58:27 PM (9 years ago)
Author:
butler
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
fb3f9af
Parents:
e0c16ce
Message:

Fix sphinx compile errors with autogenerated model files. Was including
the path in doc string which for windows uses a slash which ReST
interprets as an escape charater. Was not rendering the source file
correctly for ANY of the generated but was a particular problem for
files that had an f as \f is formfeed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/models/c_extension/python_wrapper/modelTemplate.txt

    rc93122e r1f5f206  
    1717 
    1818.. WARNING:: 
    19  
    2019   THIS FILE WAS GENERATED BY WRAPPERGENERATOR.PY 
    2120   DO NOT MODIFY THIS FILE, MODIFY 
     
    3029def create_[PYTHONCLASS](): 
    3130    """ 
    32        Create a model instance 
     31    Create a model instance 
    3332    """ 
    3433    obj = [PYTHONCLASS]() 
     
    10099        """ 
    101100        Evaluate the model 
     101 
    102102        :param x: input q, or [q,phi] 
    103103        :return: scattering function P(q) 
     
    108108        """ 
    109109        Evaluate the model in cartesian coordinates 
     110 
    110111        :param x: input q, or [qx, qy] 
    111112        :return: scattering function P(q) 
     
    116117        """ 
    117118        Evaluate the model in cartesian coordinates 
     119 
    118120        :param x: input q[], or [qx[], qy[]] 
    119121        :return: scattering function P(q[]) 
     
    124126        """ 
    125127        Calculate the effective radius for P(q)*S(q) 
     128 
    126129        :return: the value of the effective radius 
    127130        """ 
     
    131134        """ 
    132135        Calculate the volf ratio for P(q)*S(q) 
     136 
    133137        :return: the value of the volf ratio 
    134138        """ 
     
    138142        """ 
    139143        Set the dispersion object for a model parameter 
     144 
    140145        :param parameter: name of the parameter [string] 
    141146        :param dispersion: dispersion object of type DispersionModel 
Note: See TracChangeset for help on using the changeset viewer.