diff options
author | Birte Friesel <dfriesel@uos.de> | 2023-07-31 09:23:12 +0200 |
---|---|---|
committer | Birte Friesel <dfriesel@uos.de> | 2023-07-31 09:23:12 +0200 |
commit | 90948e52fbc1a7bb8389667aa1f15dd43eb0a08e (patch) | |
tree | b5b1ce8002ef5e955be03f41a20a86e8e3030f8f /bin | |
parent | 4da81fa674866550ea1b686911efbbeaabfecad0 (diff) |
analyze-log: show-model: sort sub-model and NFP names
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/analyze-log.py | 8 |
1 files 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) |