summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2023-05-30 12:21:49 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2023-05-30 12:21:49 +0200
commite5a69c4baee3900bc626cf59b9fda76336c70a2b (patch)
treeb9559e4c25d11933ab94aed511eacb9f8b760ca5 /lib
parentd7c74147fc473af7771ec31f88bb3a2d1139852d (diff)
CLI: static model: show attribute names
Diffstat (limited to 'lib')
-rw-r--r--lib/cli.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/cli.py b/lib/cli.py
index 459d7ad..066c685 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -18,8 +18,9 @@ def print_static(model, static_model, name, attribute):
elif attribute == "substate_count":
unit = "su"
print(
- "{:10s}: {:.0f} {:s} ({:.2f})".format(
+ "{:10s}: {:28s} : {:.0f} {:s} ({:.2f})".format(
name,
+ attribute,
static_model(name, attribute),
unit,
model.attr_by_name[name][attribute].stats.generic_param_dependence_ratio(),
@@ -27,8 +28,9 @@ def print_static(model, static_model, name, attribute):
)
for param in model.parameters:
print(
- "{:10s} dependence on {:15s}: {:.2f}".format(
+ "{:10s} {:13s} {:15s}: {:.2f}".format(
"",
+ "dependence on",
param,
model.attr_by_name[name][attribute].stats.param_dependence_ratio(param),
)