Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
aidan-curtis committed Feb 1, 2025
1 parent 74cace0 commit b0fb753
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions predicators/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
def main() -> None:
"""Main entry point for running approaches in environments."""
# Add Tkinter initialization at the start
root = tk.Tk()
root.withdraw() # Hide the main window
# root = tk.Tk()
# root.withdraw() # Hide the main window

script_start = time.perf_counter()
# Parse & validate args
Expand Down Expand Up @@ -188,12 +188,12 @@ def main() -> None:

logging.info(f"\n\nMain script terminated in {script_time:.5f} seconds")

# Clean up Tkinter
try:
root.quit()
root.destroy()
except Exception:
pass
# # Clean up Tkinter
# try:
# root.quit()
# root.destroy()
# except Exception:
# pass


def _run_pipeline(env: BaseEnv,
Expand Down

0 comments on commit b0fb753

Please sign in to comment.