diff --git a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzer.py b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzer.py index 15422650..90cdabea 100755 --- a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzer.py +++ b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzer.py @@ -28,9 +28,6 @@ import traceback from typing import Callable, List, Set, Tuple -from numpy import extract - - from loganalyze.log_analyzers.base_analyzer import BaseImageCreator from loganalyze.logs_extraction.directory_extractor import DirectoryExtractor from loganalyze.log_analyzers.ufm_top_analyzer import UFMTopAnalyzer diff --git a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/base_analyzer.py b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/base_analyzer.py index a20d6221..4b107878 100644 --- a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/base_analyzer.py +++ b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/base_analyzer.py @@ -166,7 +166,7 @@ def get_images_created(self): def get_dataframes_for_pdf(self): return self._dataframes_for_pdf - + def get_lists_for_pdf(self): return self._lists_for_pdf diff --git a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/console_log_analyzer.py b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/console_log_analyzer.py index 9b34ec99..8d0dccf5 100644 --- a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/console_log_analyzer.py +++ b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/console_log_analyzer.py @@ -107,7 +107,7 @@ def print_exceptions_per_time_count(self): "Time", "Amount of exceptions", "Exceptions count", - ) + ) def save_ufm_versions(self): self._txt_for_pdf.append( diff --git a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/ibdiagnet2_port_counters_analyzer.py b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/ibdiagnet2_port_counters_analyzer.py index 3f37912d..c617fbf0 100644 --- a/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/ibdiagnet2_port_counters_analyzer.py +++ b/plugins/ufm_log_analyzer_plugin/src/loganalyze/log_analyzers/ibdiagnet2_port_counters_analyzer.py @@ -42,7 +42,7 @@ def __init__( self.save_number_of_core_dumps, self.save_collectx_versions, } - + # Based on the log path, decided if this is primary or secondary if "ufm_logs" in logs_csvs[0]: self.telemetry_type = "primary" @@ -59,7 +59,8 @@ def save_collectx_versions(self): self._log_data_sorted["type"] == "collectx_version" ]["data"].unique() self._txt_for_pdf.append( - f"collectx versions found in {self.telemetry_type} telemetry log {set(unique_collectx_versions)}" + f"collectx versions found in {self.telemetry_type} telemetry log \ + {set(unique_collectx_versions)}" ) def save_number_of_switches_and_ports(self):