Skip to content

Commit 4c88e37

Browse files
committed
DOC: fix inclusion of moved source files
1 parent e688ca9 commit 4c88e37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: doc/manual/source/extending.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ external program before or after interfacing with SrFit. An example of a
180180
customized Profile is the ``SASProfile`` class in the
181181
``diffpy.srfit.sas.sasprofile`` module:
182182

183-
.. literalinclude:: ../../../diffpy/srfit/sas/sasprofile.py
183+
.. literalinclude:: ../../../src/diffpy/srfit/sas/sasprofile.py
184184
:pyobject: SASProfile
185185

186186
The ``__init__`` method sets the ``xobs``, ``yobs`` and ``dyobs`` attributes of
@@ -218,7 +218,7 @@ to keep the restraint cost comparable to the residual of a single data point.
218218
``Restraint`` whose penalty is the root-mean-square deviation from the expected
219219
and calculated BVS of a structure.
220220

221-
.. literalinclude:: ../../../diffpy/srfit/structure/bvsrestraint.py
221+
.. literalinclude:: ../../../src/diffpy/srfit/structure/bvsrestraint.py
222222
:pyobject: BVSRestraint
223223

224224
Note that the penalty scaling is optional (selected by the `scaled` flag) and
@@ -230,7 +230,7 @@ restrainable object. A ``BVSRestraint`` is used to restrain a ``SrRealParSet``,
230230
which is a ``ParameterSet`` wrapper base class for SrReal-compatible
231231
structures. The restraint is applied with the ``restrainBVS`` method.
232232

233-
.. literalinclude:: ../../../diffpy/srfit/structure/srrealparset.py
233+
.. literalinclude:: ../../../src/diffpy/srfit/structure/srrealparset.py
234234
:pyobject: SrRealParSet.restrainBVS
235235

236236
The purpose of the method is to create the custom ``Restraint`` object,

0 commit comments

Comments
 (0)