From 685f5d5c777c16e04918f8943bf863a40ab48326 Mon Sep 17 00:00:00 2001 From: Martin Beracochea Date: Sun, 25 Jun 2023 11:11:15 +0100 Subject: [PATCH] Fix commands .. --- check.py | 13 ------------- toad/cli.py | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 check.py diff --git a/check.py b/check.py deleted file mode 100644 index 61e891d..0000000 --- a/check.py +++ /dev/null @@ -1,13 +0,0 @@ -from pathlib import Path - - -def check(entry: str, launch_exitcode: int, launch_stdout: str, launch_stderr: str): - if entry == "SRR1": - return True, 0, "", "" - return False, 2, "STD OUTPUT", "STD ERROR" - - # if Path(entry).exists(): - # print(f"{entry} exists") - # return True - # print(f"{entry} doesn't exist") - # return False diff --git a/toad/cli.py b/toad/cli.py index 4979ae4..752ea9d 100644 --- a/toad/cli.py +++ b/toad/cli.py @@ -266,7 +266,7 @@ def common( typer.Option("--version", callback=version_callback, is_eager=True), ] = None, ): - raise typer.Exit() + pass if __name__ == "__main__":