Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve exception handling around init/loading of enkf nodes #4970

Conversation

valentin-krasontovitsch
Copy link
Contributor

Issue
Resolves #4900

Approach
See commit messages.

See also #4938 (which was closed due to branch on equinor fork) for more context / review history

Pre review checklist

  • Added appropriate release note label
  • SKIPPED! PR title captures the intent of the changes, and is fitting for release notes.
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • IRRELEVANT Updated documentation
  • Ensured new behaviour is tested

@codecov-commenter
Copy link

Codecov Report

Merging #4970 (a87f082) into main (7bdf7d3) will increase coverage by 0.21%.
The diff coverage is 22.72%.

@@            Coverage Diff             @@
##             main    #4970      +/-   ##
==========================================
+ Coverage   63.03%   63.25%   +0.21%     
==========================================
  Files         438      439       +1     
  Lines       30683    30766      +83     
  Branches     3127     3176      +49     
==========================================
+ Hits        19341    19460     +119     
+ Misses      10551    10498      -53     
- Partials      791      808      +17     
Impacted Files Coverage Δ
src/clib/lib/enkf/enkf_node.cpp 0.00% <0.00%> (ø)
src/clib/lib/enkf/field.cpp 0.00% <0.00%> (ø)
src/clib/lib/enkf/gen_kw_config.cpp 0.00% <0.00%> (ø)
src/clib/lib/config/config_parser.cpp 43.65% <50.00%> (-4.05%) ⬇️
src/ert/_c_wrappers/enkf/data/enkf_node.py 91.56% <50.00%> (ø)
src/ert/_c_wrappers/enkf/enkf_obs.py 84.33% <100.00%> (+0.58%) ⬆️
src/ert/ensemble_evaluator/_wait_for_evaluator.py 97.22% <100.00%> (+0.25%) ⬆️
src/ert/gui/simulation/simulation_config_panel.py 85.00% <0.00%> (-1.37%) ⬇️
... and 14 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@oyvindeide
Copy link
Collaborator

Is this still being worked on?

@valentin-krasontovitsch
Copy link
Contributor Author

We decided to only merge the tests that are part of this PR, and that happened in #4983
so we can close this.

@valentin-krasontovitsch valentin-krasontovitsch deleted the segfault-troll-get-the-juices branch April 3, 2023 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unreadable field init file leads to segfault
3 participants