-
Notifications
You must be signed in to change notification settings - Fork 108
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
Log contents of custom forward model steps #8696
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8696 +/- ##
==========================================
+ Coverage 90.96% 91.44% +0.47%
==========================================
Files 343 343
Lines 21286 21292 +6
==========================================
+ Hits 19363 19470 +107
+ Misses 1923 1822 -101
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
schema=init_user_config_schema(), | ||
) | ||
for fm_step, fm_step_filename in user_config.get(ConfigKeys.INSTALL_JOB, []): | ||
fm_configuration = Path(fm_step_filename).read_text(encoding="utf-8") |
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.
This should probably be logged after the ErtConfig
is parsed to avoid 1) parsing the config file twice and 2) avoid raising FileNotFoundError
instead of ConfigurationValidationError
.
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.
Fixed (methinks)
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.
Just checked and bad permissions for the config file and non-existent config file is handled by __main__.py
.
4f0deaf
to
37a3644
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.
👍
Issue
Resolves https://github.com/equinor/scout/issues/1132
Approach
Short description of the approach
(Screenshot of new behavior in GUI if applicable)
When applicable