Documentation updates.

This commit is contained in:
rowanc1
2014-01-24 09:55:24 -07:00
parent f8e6f61fe8
commit 57320fb2bc
5 changed files with 30 additions and 29 deletions
+7 -4
View File
@@ -152,11 +152,14 @@ def requires(var):
def requiresVar(f):
if var is 'prob':
extra = """
To use data.%s(), SimPEG requires that a problem be bound to the data.
If a problem has not been bound, an Exception will be raised.
To bind a problem to the Data object::
data.setProblem(myProblem)
.. note::
To use data.%s(), SimPEG requires that a problem be bound to the data.
If a problem has not been bound, an Exception will be raised.
To bind a problem to the Data object::
data.pair(myProblem)
""" % f.__name__
else: