From 9d6f5d83d49d9ae5749831333990deec324488d8 Mon Sep 17 00:00:00 2001 From: z30043230 Date: Thu, 24 Jul 2025 16:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=AE=89=E5=85=A8=E3=80=91Fix=20array?= =?UTF-8?q?=20index=20out=20of=20bounds=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cluster_analyse/common_func/analysis_loader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/profiler/msprof_analyze/cluster_analyse/common_func/analysis_loader.py b/profiler/msprof_analyze/cluster_analyse/common_func/analysis_loader.py index 3fbce82282..0eba8d77bf 100644 --- a/profiler/msprof_analyze/cluster_analyse/common_func/analysis_loader.py +++ b/profiler/msprof_analyze/cluster_analyse/common_func/analysis_loader.py @@ -40,4 +40,5 @@ def get_class_from_name(analysis_name: str): specific_analysis = inspect.getmembers(module, is_analysis_class) if not specific_analysis: logger.error(f"{analysis_name} not found.") + return None return specific_analysis[0] -- Gitee