From a1f408a975b433eacf254f59e696b91307c6d69a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 14 Jan 2025 00:52:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- perun/io/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perun/io/util.py b/perun/io/util.py index 98e345f..3a225e8 100644 --- a/perun/io/util.py +++ b/perun/io/util.py @@ -63,7 +63,7 @@ def value2ValueUnitStr(value: np.number, metric_md: MetricMetaData) -> str: String represenation """ tfactor, new_mag = getTFactorMag(value, metric_md) - return f"{value/tfactor:.3f} {new_mag.symbol}{metric_md.unit.value}" + return f"{value / tfactor:.3f} {new_mag.symbol}{metric_md.unit.value}" def value2MeanStdStr(stats: Stats) -> str: @@ -82,4 +82,4 @@ def value2MeanStdStr(stats: Stats) -> str: String represenation """ tfactor, new_mag = getTFactorMag(stats.mean, stats.metric_md) - return f"{stats.mean/tfactor:.2f} ± {stats.std/tfactor:.2f} {new_mag.symbol}{stats.metric_md.unit.value}" + return f"{stats.mean / tfactor:.2f} ± {stats.std / tfactor:.2f} {new_mag.symbol}{stats.metric_md.unit.value}"