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

Refactor analysis config min_required_realizations #3426

Merged
merged 2 commits into from
May 24, 2022

Conversation

ManInFez
Copy link
Contributor

@ManInFez ManInFez commented May 24, 2022

Issue
Analysis config is provided enough information during initialization, but was previously also requiring one to add the
pass in ensemble size as a parameter. This is no longer needed, as min_required now defaults to ensemble size
if nothing is specified.

Pre review checklist

  • Added appropriate release note label
  • 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.

Adding labels helps the maintainers when writing release notes. This is the list of release note labels.

Default min_realizations to num_realizations when parsing config.
Remove ensemble_size parameter for analysis_config.haveEnoughRealisations()
@ManInFez ManInFez added the release-notes:breaking-change Automatically categorise as breaking change in release notes label May 24, 2022
@ManInFez ManInFez self-assigned this May 24, 2022
Copy link
Contributor

@dafeda dafeda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@ManInFez ManInFez merged commit 65f1334 into equinor:main May 24, 2022
@ManInFez ManInFez deleted the enough_realizations_cleanup branch May 24, 2022 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:breaking-change Automatically categorise as breaking change in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants