summaryrefslogtreecommitdiff
path: root/bin/analyze-log.py
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-09 09:53:38 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-09 09:53:38 +0100
commit2523fa0e1ae827449b02389ff0899f7c02347363 (patch)
tree873fe4001fc2f532c21bd3ae5d94bda4cf1fe840 /bin/analyze-log.py
parente35f187a6e37bb4e24c66ef4f07c5d83039ef4e2 (diff)
computers hard
Diffstat (limited to 'bin/analyze-log.py')
-rwxr-xr-xbin/analyze-log.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py
index 05814e6..3c0fc12 100755
--- a/bin/analyze-log.py
+++ b/bin/analyze-log.py
@@ -61,18 +61,6 @@ def main():
style="{",
)
- if args.filter_param:
- args.filter_param = list(
- map(
- lambda entry: dfatool.cli.parse_filter_string(
- entry, parameter_names=parameters
- ),
- args.filter_param.split(";"),
- )
- )
- else:
- args.filter_param = list()
-
if args.filter_observation:
args.filter_observation = list(
map(lambda x: tuple(x.split(":")), args.filter_observation.split(","))
@@ -86,6 +74,18 @@ def main():
args.ignore_param = args.ignore_param.split(",")
dfatool.utils.ignore_param(by_name, parameter_names, args.ignore_param)
+ if args.filter_param:
+ args.filter_param = list(
+ map(
+ lambda entry: dfatool.cli.parse_filter_string(
+ entry, parameter_names=parameter_names
+ ),
+ args.filter_param.split(";"),
+ )
+ )
+ else:
+ args.filter_param = list()
+
dfatool.utils.filter_aggregate_by_param(by_name, parameter_names, args.filter_param)
dfatool.utils.filter_aggregate_by_observation(by_name, args.filter_observation)