-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fixing an issue where an incorrect well type will sometimes be assigned when loading in wells. #450
base: master
Are you sure you want to change the base?
Conversation
…ed when loading in wells.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #450 +/- ##
=======================================
Coverage 93.25% 93.25%
=======================================
Files 191 191
Lines 14075 14076 +1
=======================================
+ Hits 13126 13127 +1
Misses 949 949 ☔ View full report in Codecov by Sentry. |
@@ -128,6 +128,8 @@ def _load(self) -> None: | |||
self._wells = wells | |||
self.__date_format = date_format | |||
self._wells_loaded = True | |||
# Ensure the newly added wells have additional information populated from the surface file. | |||
self.model.network.get_load_status() |
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.
Does this always mean that network will be loaded after the wells are loaded?
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.
Yes.
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.
Good test for this. If we don't have the call to the network does this test fail?
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.
It fails for all except the default producer test case, yes.
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.
lgtm
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.
Looks good!
No description provided.