Report: Disable archiving of input files
[csit.git] / resources / tools / presentation / generator_plots.py
index 9db74e8..cc9d880 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2021 Cisco and/or its affiliates.
+# Copyright (c) 2023 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -795,7 +795,10 @@ def plot_perf_box_name(plot, input_data):
         try:
             val_max = max(df_y[col])
             if val_max:
-                y_max.append(int(val_max / 1e6))
+                if test_type in (u"VSAP_CPS", u"VSAP_RPS"):
+                    y_max.append(int(val_max))
+                else:
+                    y_max.append(int(val_max / 1e6))
         except (ValueError, TypeError) as err:
             logging.error(repr(err))
             continue