diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-30 12:21:49 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-30 12:21:49 +0200 |
commit | e5a69c4baee3900bc626cf59b9fda76336c70a2b (patch) | |
tree | b9559e4c25d11933ab94aed511eacb9f8b760ca5 /lib | |
parent | d7c74147fc473af7771ec31f88bb3a2d1139852d (diff) |
CLI: static model: show attribute names
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cli.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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), ) |