mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-06-29 08:19:27 +02:00
docs: docstrings improved.
This commit is contained in:
parent
1d41a664ee
commit
c11410da5e
2 changed files with 25 additions and 17 deletions
|
@ -79,7 +79,7 @@ def _assert_equal_properties(ol, otype=Obs):
|
|||
if not isinstance(o, otype):
|
||||
raise Exception("Wrong data type in list.")
|
||||
if not ol[0].is_merged == o.is_merged:
|
||||
raise Exception("All Obs in list have to be defined on the same set of configs.")
|
||||
raise Exception("All Obs in list have to have the same state 'is_merged'.")
|
||||
if not ol[0].reweighted == o.reweighted:
|
||||
raise Exception("All Obs in list have to have the same property 'reweighted'.")
|
||||
if not ol[0].e_content == o.e_content:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue