diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2022-04-01 09:24:25 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2022-04-01 09:24:25 +0200 |
commit | a590c804cbf121c037d087a0b4196586e063f0fb (patch) | |
tree | af58016296edd82938d655d6b40dd0f45c428982 | |
parent | a50b3864452e72d01f5fe9a7c4a8d0f825b661b4 (diff) |
cli: show_quality=table: sort keys and attributes
-rw-r--r-- | lib/cli.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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] |