Skip to content

Commit

Permalink
Refs #202 - Try and fix some Sphinx warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterParker committed Dec 14, 2014
1 parent f6b977c commit 5ab5cae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions park-1.2.1/park/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def set(self, **kw):
User convenience function. This allows a user with an assembly
of models in a script to for example set the fit range for
parameter 'a' of the model::
assembly[0].set(a=[5,6])
Raises KeyError if the parameter is not in parameterset.
Expand Down Expand Up @@ -303,8 +304,8 @@ def append(self, fitness, weight=1.0, isfitted=True):
Add a model to the end of set.
:param fitness: the fitting model
The fitting model can be an instance of `park.assembly.Fitness`,
or a tuple of (`park.model.Model`,`park.data.Data1D`)
The fitting model can be an instance of `park.assembly.Fitness`,
or a tuple of (`park.model.Model`,`park.data.Data1D`)
:param weight: model weighting (usually 1.0)
:param isfitted: whether model should be fit (equivalent to weight 0.)
"""
Expand Down
2 changes: 0 additions & 2 deletions park-1.2.1/park/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class Data1D(object):
Data representation for 1-D fitting.
Attributes
==========
filename
The source of the data. This may be the empty string if the
Expand Down Expand Up @@ -93,7 +92,6 @@ class Data1D(object):
computed by a call to residuals.
Notes on calc_x
===============
The contribution of Q to a resolution of width dQo at point Qo is::
Expand Down

0 comments on commit 5ab5cae

Please sign in to comment.