From 180bef0bf6ae288a1b5956bea4e5a2ec34120d75 Mon Sep 17 00:00:00 2001 From: David Date: Mon, 7 Oct 2024 09:35:05 +0200 Subject: [PATCH] Remove debug print "loading opengate" Commented out initialization status prints and removed redundant "done" message to streamline the module's import process. --- opengate/__init__.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/opengate/__init__.py b/opengate/__init__.py index 53e30a72c..df806a5e4 100644 --- a/opengate/__init__.py +++ b/opengate/__init__.py @@ -1,8 +1,8 @@ # This file handles the way opengate is imported. +""" import colored import threading - print( colored.stylize( f"Importing opengate (thread " f"{threading.get_native_id()}) ... ", @@ -11,6 +11,8 @@ end="", flush=True, ) +print(colored.stylize("done", colored.fore("dark_gray"))) +""" # the following modules are imported respecting the package structure # they will be available via @@ -52,6 +54,3 @@ from opengate.managers import Simulation from opengate.managers import create_sim_from_json from opengate.utility import g4_units - - -print(colored.stylize("done", colored.fore("dark_gray")))