From 2f81dd1cfd19ee4e89d36817a4de195aa85bbd59 Mon Sep 17 00:00:00 2001 From: DanSava Date: Tue, 7 Jan 2025 12:10:21 +0200 Subject: [PATCH] Add deprecation warning for SIMULATION_JOB keyword --- src/ert/config/parsing/config_schema_deprecations.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ert/config/parsing/config_schema_deprecations.py b/src/ert/config/parsing/config_schema_deprecations.py index 5198f5da06f..b5c73b15e12 100644 --- a/src/ert/config/parsing/config_schema_deprecations.py +++ b/src/ert/config/parsing/config_schema_deprecations.py @@ -188,4 +188,11 @@ check=lambda line: "LSF_RESOURCE" in line and "mem=" in cast(list[str], line)[-1], ), + DeprecationInfo( + keyword="SIMULATION_JOB", + message=lambda args: "The SIMULATION_JOB keyword has been removed and no longer " + "has any effect. It has been used in the as a lightweight alternative of " + "FORWARD_MODEL. Please use FORWARD_MODEL keyword instead:\n" + f"FORWARD_MODEL {' '.join(args) if args else ''}", + ), ]