From fe1ae80ea858f5fae40ca75c424c72cdb00dbc7d Mon Sep 17 00:00:00 2001 From: "T.Aoyama" Date: Wed, 30 Oct 2024 16:47:26 +0900 Subject: [PATCH] fix import --- src/odatse/algorithm/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/odatse/algorithm/__init__.py b/src/odatse/algorithm/__init__.py index cb8ad3b3..a549aa8b 100644 --- a/src/odatse/algorithm/__init__.py +++ b/src/odatse/algorithm/__init__.py @@ -27,6 +27,7 @@ def choose_algorithm(name): alg_module = importlib.import_module(alg_name) except ModuleNotFoundError as e: print("ERROR: {}".format(e)) + import sys sys.exit(1) return alg_module