From fe4890ab8172fdab1793c0bc62f577411bf09246 Mon Sep 17 00:00:00 2001 From: kiwijuice56 Date: Sat, 27 Jan 2024 18:57:10 -0500 Subject: [PATCH] Fixed small bug --- main.py | 4 ++-- protein.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 1b987f1..7d34125 100644 --- a/main.py +++ b/main.py @@ -51,11 +51,11 @@ # Initialize the protein protein = Protein(file, chain_id=chain_id, prompt_for_chain=visible_window) - +print(f"{DEFAULT_COLOR}Processing complete.") # If running the program from a command line, quit and do not show the window if not visible_window: - exit() + sys.exit() # Initialize window window = pyglet.window.Window(resizable=True, vsync=0) diff --git a/protein.py b/protein.py index bb3b7ac..e3e88ee 100644 --- a/protein.py +++ b/protein.py @@ -120,7 +120,7 @@ def __init__(self, pdb_path, prompt_for_chain=True, chain_id=None, verbose=False chain = other_chain break - print(self.OUTPUT_COLOR_GOOD + f"Rendering chain with ID '{chain_id}'.") + print(self.OUTPUT_COLOR_GOOD + f"Loading chain with ID '{chain_id}'.") # Parse the .pdb file for the protein sequence physical_record = None