summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-04-01 09:24:25 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2022-04-01 09:24:25 +0200
commita590c804cbf121c037d087a0b4196586e063f0fb (patch)
treeaf58016296edd82938d655d6b40dd0f45c428982 /lib
parenta50b3864452e72d01f5fe9a7c4a8d0f825b661b4 (diff)
cli: show_quality=table: sort keys and attributes
Diffstat (limited to 'lib')
-rw-r--r--lib/cli.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cli.py b/lib/cli.py
index 978f6e7..fe0a5b3 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -115,8 +115,8 @@ def model_quality_table(header, result_lists, info_list):
header[2].center(19),
)
)
- for state_or_tran in result_lists[0].keys():
- for key in result_lists[0][state_or_tran].keys():
+ for state_or_tran in sorted(result_lists[0].keys()):
+ for key in sorted(result_lists[0][state_or_tran].keys()):
buf = "{:20s} {:15s}".format(state_or_tran, key)
for i, results in enumerate(result_lists):
info = info_list[i]