From fd77002028aeb7d2fbcdeb0137b800293e5de75c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Eide?= Date: Thu, 6 Jul 2023 09:37:12 +0200 Subject: [PATCH] Add same message to cli as gui if existing runpath --- src/ert/cli/main.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ert/cli/main.py b/src/ert/cli/main.py index b7a164cfab9..0548c1effe2 100644 --- a/src/ert/cli/main.py +++ b/src/ert/cli/main.py @@ -113,7 +113,14 @@ def run_cli(args: Namespace, _: Any = None) -> None: experiment.write_simulation_arguments(model.simulation_arguments) if model.check_if_runpath_exists(): - print("Warning: ERT is running in an existing runpath") + print( + "Warning: ERT is running in an existing runpath.\n" + "Please be aware of the following:\n" + "- Previously generated results " + "might be overwritten.\n" + "- Previously generated files might " + "be used if not configured correctly.\n" + ) logger.warning("ERT is running in an existing runpath") thread = threading.Thread(