From e044c7e77c8144fcf6cd302e98bb7313016a21f1 Mon Sep 17 00:00:00 2001 From: joseph-sentry <136376984+joseph-sentry@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:29:38 -0500 Subject: [PATCH] fix: get_results returns none if table is empty (#971) --- utils/test_results.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/test_results.py b/utils/test_results.py index 4dbdb6cf2c..e8ac8239bb 100644 --- a/utils/test_results.py +++ b/utils/test_results.py @@ -70,4 +70,7 @@ def get_results( # deserialize table = pl.read_ipc(result) + if table.height == 0: + return None + return table