ert
ert copied to clipboard
Failed realization shows as successful (or vice versa?)
Describe the bug A successfully run realization shows up with an error in the GUI. Might be related to restart
To reproduce
Steps to reproduce the behaviour:
0. Use this as the main content in poly_eval.py:
if __name__ == "__main__":
if random.random() > 0.6:
sys.exit(2)
if random.random() > 0.8:
time.sleep(60)
coeffs = _load_coeffs("parameters.json")
output = [_evaluate(coeffs, x) for x in range(10)]
with open("poly.out", "w", encoding="utf-8") as f:
f.write("\n".join(map(str, output)))
- Run poly example in gui
- There will be some realizations that are successful but also show an error.
Expected behaviour It should not show an error if run successfully
Environment
- OS: MacOS 13.4
- ERT/Komodo release: Bleeding
- Python version: 3.10
- Remote/HPC execution involved: no
Still happens if running for example snake oil with many realizations on RGS
Can no longer reproduce closing the issue again.