From b5944728478226023d0dcd00a01f4a9ce9362bbf Mon Sep 17 00:00:00 2001 From: tee1g21 <92794120+tee1g21@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:59:51 +0000 Subject: [PATCH] Debugging check variable --- scripts/GUI.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/GUI.py b/scripts/GUI.py index a78a2c9..fc61a8c 100644 --- a/scripts/GUI.py +++ b/scripts/GUI.py @@ -43,7 +43,7 @@ def select_Image(event): def depthmap_creation(): print("Manually upload depth map: ", uploadDepthCheck.get()) - if uploadDepthCheck == 0: + if uploadDepthCheck.get() == 0: check.set(1) else: check.set(0) #temporary. TODO implement Mona's monodepth upload @@ -93,8 +93,9 @@ def runProcess(): print(f"Attempting to run: {combined_bat}") print(f"With arguments: {file_path}, {str(check.get())}, {include_top_option}, {shift_image_option}") - if check == 1: - print("Autodepth map") + # depth map check + if check.get() == 1: + print("Auto depth map") else: print("Manual depth map") -- GitLab