diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-11-13 15:22:42 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-11-13 15:22:42 +0100 |
commit | f8e552bbbe564b8a1b0c33d754e67b4f3c8835b4 (patch) | |
tree | 1d49bf3517df0f9da959326e5907b78e3fe781e8 | |
parent | d71cc09928bcc1a14b76eeef844d6d0f7960202e (diff) |
analyze-log: support --function-override
-rwxr-xr-x | bin/analyze-log.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py index 1e866b7..41aa9af 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -146,10 +146,17 @@ def main(): norm = dfatool.cli.parse_nfp_normalization(args.normalize_nfp) dfatool.utils.normalize_nfp_in_aggregate(by_name, norm) + function_override = dict() + if args.function_override: + for function_desc in args.function_override.split(";"): + state_or_tran, attribute, *function_str = function_desc.split(" ") + function_override[(state_or_tran, attribute)] = " ".join(function_str) + model = AnalyticModel( by_name, parameter_names, force_tree=args.force_tree, + function_override=function_override, ) if args.info: |