From e3f480c3ffc1bb05bd69bdc0092f42dba137229b Mon Sep 17 00:00:00 2001
From: joshrandall8478 <joshrandall8478@gmail.com>
Date: Fri, 11 Oct 2024 11:34:32 -0400
Subject: [PATCH] added dimension checks

---
 main.py | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/main.py b/main.py
index edd7b0d..46bbb69 100644
--- a/main.py
+++ b/main.py
@@ -310,5 +310,15 @@ def main():
         pointsForRun = []
         late = False
 
+def dimensionCheck():
+    global defaults
+    global defaultLabels
+    if (len(defaults) == len(defaultLabels)):
+        return True
+    else:
+        return False;
 
-main()
+if(dimensionCheck()):
+    main()
+else:
+    print("Dimensions for default and defaultLabels do not match. Please correct it before running the script again.")
\ No newline at end of file
-- 
GitLab