From 90948e52fbc1a7bb8389667aa1f15dd43eb0a08e Mon Sep 17 00:00:00 2001 From: Birte Friesel Date: Mon, 31 Jul 2023 09:23:12 +0200 Subject: analyze-log: show-model: sort sub-model and NFP names --- bin/analyze-log.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/analyze-log.py b/bin/analyze-log.py index 03cdf64..3de63c9 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -200,13 +200,13 @@ def main(): if "static" in args.show_model or "all" in args.show_model: print("--- static model ---") - for name in model.names: - for attribute in model.attributes(name): + for name in sorted(model.names): + for attribute in sorted(model.attributes(name)): dfatool.cli.print_static(model, static_model, name, attribute) if "param" in args.show_model or "all" in args.show_model: - for name in model.names: - for attribute in model.attributes(name): + for name in sorted(model.names): + for attribute in sorted(model.attributes(name)): info = param_info(name, attribute) if type(info) is df.AnalyticFunction: dfatool.cli.print_analyticinfo(f"{name:10s} {attribute:15s}", info) -- cgit v1.2.3