summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-22 08:49:43 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-22 08:51:13 +0200
commit7a39130850a1897ecfa68eaaf17212628fbee51d (patch)
treeffa4864f1b9a993aa1882f4a105e2b87dfdfc2fe /bin
parent40a612ba666f163748cde33009573832154b8117 (diff)
add (partially supported) --show-model-precision
Diffstat (limited to 'bin')
-rwxr-xr-xbin/analyze-log.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py
index 43a7d11..160ffc3 100755
--- a/bin/analyze-log.py
+++ b/bin/analyze-log.py
@@ -242,6 +242,7 @@ def main():
name,
attribute,
with_dependence="all" in args.show_model,
+ precision=args.show_model_precision,
)
if "param" in args.show_model or "all" in args.show_model:
@@ -249,7 +250,11 @@ def main():
for name in sorted(model.names):
for attribute in sorted(model.attributes(name)):
info = param_info(name, attribute)
- dfatool.cli.print_model(f"{name:10s} {attribute:15s}", info)
+ dfatool.cli.print_model(
+ f"{name:10s} {attribute:15s}",
+ info,
+ precision=args.show_model_precision,
+ )
if args.show_model_error:
dfatool.cli.model_quality_table(