From f52a6e39573eebf5167a0d01f4de0ea97f49a3e1 Mon Sep 17 00:00:00 2001 From: Mayeul Aubin Date: Mon, 17 Mar 2025 11:37:48 +0100 Subject: [PATCH] value error unknown mode --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index ff18d4f..54be5a7 100644 --- a/main.py +++ b/main.py @@ -190,7 +190,9 @@ def main(parsed_args): print_message("Running allsCOLA finished.", 1, "control", verbose=parsed_args.verbose) - + case _: + raise ValueError(f"Unknown mode: {main_dict['mode']}") + print_ending_module("control", verbose=parsed_args.verbose)