ert
ert copied to clipboard
Warn user instead of error after run when active realisations < MIN_REALIZATIONS
Describe the bug
If the user specifies a set of realizations that is smaller than MIN_REALIZATIONS
in the config file, all forward models can succeed and still ert will produce a failure. Ert has enough information before running that this will fail.
To reproduce Steps to reproduce the behaviour:
-
pip install ert
- Make sure
MIN_REALIZATIONS
> 1 -
ert gui my_config.ert
- Run experiment and specify single realization
Expected behaviour
A warning that user has specified less than MIN_REALIZATIONS
from config and have them either specify more realizations or change MIN_REALIZATIONS
.
Environment
- OS: [e.g. RHEL7]: all
- ERT/Komodo release: main
- Python version: all
- Remote/HPC execution involved: [N/A] (valid for both)
Other
https://github.com/equinor/ert/pull/3426
This PR changed the behaviour, as ert used to take the minimum between chosen realizations and MIN_REALIZATIONS
. This issue proposes that the change should stay, but we can stop users from running an experiment that ultimately will fail.