From 746f25c3059a9167b7b78c5c73f78f23e9c1584d Mon Sep 17 00:00:00 2001 From: Lyncoln Date: Sat, 24 Oct 2026 10:00:55 -0400 Subject: [PATCH] Refined error and None type handling for select_data --- core/runtime/select.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/runtime/select.py b/core/runtime/select.py index acea8df..037ae62 100644 --- a/core/runtime/select.py +++ b/core/runtime/select.py @@ -27,8 +27,8 @@ def buildSelect(action, outputs): #outputs[{action.select["source"]}] = select_data outputs[f"{action.alias}_select"] = select_data - #print("DEBUGGING", action.alias) - #print(outputs[f"{action.alias}_select"]) + if select_data is None: + print(f"No data selected during {action.name}") return select_data, action, outputs except KeyError as error: @@ -37,6 +37,5 @@ def buildSelect(action, outputs): except TypeError as error: print(f"TypeError during select: {error} during {action.name}") - #select_data = ["no selection"] return select_data, action, outputs