From 6e07187dc7039a847b08f36231f6ee0ccb1ccb53 Mon Sep 17 00:00:00 2001 From: Avinash Kumar Deepak Date: Sat, 20 Jun 2026 14:14:14 +0530 Subject: [PATCH] Fix rank picture mode without matrix Signed-off-by: Avinash Kumar Deepak --- core/storymanager/rank/rank.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/storymanager/rank/rank.py b/core/storymanager/rank/rank.py index bdff16ed..a6b2ec24 100644 --- a/core/storymanager/rank/rank.py +++ b/core/storymanager/rank/rank.py @@ -236,6 +236,8 @@ def _draw_pictures(self, test_cases, test_results): out_put = test_case.output_dir test_result = test_results[test_case.id][0] matrix = test_result.get("Matrix") + if not matrix: + continue for key in matrix.keys(): draw_heatmap_picture(out_put, key, matrix[key])