changeset 1296:dcb1f063650c

FlowAnalyzer - export ALL ignoredUrls
author Devel 1
date Wed, 15 Jul 2020 13:06:58 +0200
parents cd90b24c9f64
children 2090eab05b58
files stress-tester/src/main/resources/flow_analyzer.py
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/resources/flow_analyzer.py	Wed Jul 15 13:06:10 2020 +0200
+++ b/stress-tester/src/main/resources/flow_analyzer.py	Wed Jul 15 13:06:58 2020 +0200
@@ -697,11 +697,8 @@
     ]
 
     if args.c:
-        ignoredUrls = args.c
         for cleanRule in args.c:
             cleanRules.append(cleanRule)
-    else:
-        ignoredUrls = []
 
     analyzer = FlowAnalyzer()
     analyzer.get_files_list(pathString=args.input)
@@ -736,13 +733,13 @@
             stats['unfoldedCount'] = num_unfolded
             unfolded = unfolded[:args.maxSeq]
             out = {
-                'ignoredUrls': ignoredUrls,
+                'ignoredUrls': cleanRules,
                 'sequences': unfolded
             }
         else:
             seqs_prob = seqs_prob[:args.maxSeq]
             out = {
-                'ignoredUrls': ignoredUrls,
+                'ignoredUrls': cleanRules,
                 'sequences': [{'sequence': seq, 'prob': prob} for seq, prob in seqs_prob]
             }