From 2e8485eec19968ca1742068088505b62902847e6 Mon Sep 17 00:00:00 2001 From: Derek M Berger Date: Sun, 25 Sep 2022 22:55:51 -0400 Subject: [PATCH] respect show_progress args for observable calculations --- empyricalRMT/__init__.py | 2 +- empyricalRMT/observables/levelvariance.py | 2 +- empyricalRMT/observables/rigidity.py | 2 +- pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/empyricalRMT/__init__.py b/empyricalRMT/__init__.py index 6849410..a82b376 100644 --- a/empyricalRMT/__init__.py +++ b/empyricalRMT/__init__.py @@ -1 +1 @@ -__version__ = "1.1.0" +__version__ = "1.1.1" diff --git a/empyricalRMT/observables/levelvariance.py b/empyricalRMT/observables/levelvariance.py index a31f7af..1dd20c5 100644 --- a/empyricalRMT/observables/levelvariance.py +++ b/empyricalRMT/observables/levelvariance.py @@ -64,7 +64,7 @@ def level_number_variance( tol=tol, max_iters=AUTO_MAX_ITERS, min_iters=MIN_ITERS * 10, - show_progress=True, + show_progress=show_progress, )[ 1: ] # type: ignore diff --git a/empyricalRMT/observables/rigidity.py b/empyricalRMT/observables/rigidity.py index 55d88f5..9bed75a 100644 --- a/empyricalRMT/observables/rigidity.py +++ b/empyricalRMT/observables/rigidity.py @@ -156,7 +156,7 @@ def spectral_rigidity( min_iters=10 * MIN_ITERS, # also safety tol=tol, use_simpson=integration != "trapz", - show_progress=True, + show_progress=show_progress, )[1:] max_iters = int(max_iters * 2) # precaution if not success: diff --git a/pyproject.toml b/pyproject.toml index 6c677da..d25a37a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ known_local_folder = ["empyricalRMT", "src", "test", "tests"] [tool.poetry] name = "empyricalrmt" -version = "1.1.0" +version = "1.1.1" description = "Eigenvalue unfolding and spectral observable computation" authors = ["Derek M Berger "] readme = "README.md"