-
Notifications
You must be signed in to change notification settings - Fork 113
Add new forward model configuration style #10597
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
Add new forward model configuration style #10597
Conversation
CodSpeed Performance ReportMerging #10597 will not alter performanceComparing Summary
Benchmarks breakdown
|
d436308
to
c08e84f
Compare
f4edd63
to
7ccd960
Compare
2e08023
to
3d84617
Compare
3943605
to
bfae075
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! Some comments which might simplify it a bit
cee48fb
to
50275f0
Compare
a182c95
to
7ef2639
Compare
0af90ee
to
93aaabf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! I just have some minor questions left!
93aaabf
to
f56d2ab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! Just two minor comments
src/everest/config/everest_config.py
Outdated
@classmethod | ||
def validate_no_data_file(cls, values: dict[str, Any]) -> dict[str, Any]: | ||
data_file = values.get("model", {}).get("data_file", None) | ||
eclbase = values.get("definitions", {}).get("eclbase", None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should have a different default than None here, so that the text below makes more sense, for example: <name_of_smspec>
tests/everest/test_egg_simulation.py
Outdated
@@ -575,7 +575,7 @@ def test_opm_fail_default_summary_keys(copy_egg_test_data_to_tmp): | |||
|
|||
config = EverestConfig.load_file(CONFIG_FILE) | |||
# The Everest config file will fail to load as an Eclipse data file | |||
config.model.data_file = os.path.realpath(CONFIG_FILE) | |||
# config.model.data_file = os.path.realpath(CONFIG_FILE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be deleted
f56d2ab
to
6817af9
Compare
6817af9
to
e6b154d
Compare
e6b154d
to
43dcba2
Compare
Makes it possible to specify results per forward model in Everest, as well as saving GEN_DATA (that is not necessarily a constraint or objective) from forward model runs
Issue
Resolves #9615