Skip to content

Commit

Permalink
Add deprecation warning for SIMULATION_JOB keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSava committed Jan 7, 2025
1 parent bfd4bb5 commit 2f81dd1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ert/config/parsing/config_schema_deprecations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''}",
),
]

0 comments on commit 2f81dd1

Please sign in to comment.