mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
Show ensemble details in Obs.details as standard case
This commit is contained in:
parent
c11b3ee08d
commit
f643503d7c
2 changed files with 2 additions and 2 deletions
|
@ -382,7 +382,7 @@ class Obs:
|
|||
warnings.warn("Method 'print' renamed to 'details'", DeprecationWarning)
|
||||
self.details(level > 1)
|
||||
|
||||
def details(self, ens_content=False):
|
||||
def details(self, ens_content=True):
|
||||
"""Output detailed properties of the Obs."""
|
||||
if self.value == 0.0:
|
||||
percentage = np.nan
|
||||
|
|
|
@ -224,7 +224,7 @@ def test_overloaded_functions():
|
|||
def test_utils():
|
||||
my_obs = pe.pseudo_Obs(1.0, 0.5, 't')
|
||||
my_obs.tag = "Test descrption"
|
||||
my_obs.details()
|
||||
my_obs.details(False)
|
||||
my_obs.details(True)
|
||||
assert not my_obs.is_zero_within_error()
|
||||
my_obs.plot_tauint()
|
||||
|
|
Loading…
Add table
Reference in a new issue