Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cflynn3
Copy link
Collaborator

@cflynn3 cflynn3 commented Mar 4, 2025

No description provided.

@cflynn3 cflynn3 marked this pull request as ready for review March 4, 2025 17:11
Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.25%. Comparing base (47e0546) to head (790b592).

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.
📢 Have feedback on the report? Share it here.

@@ -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()
Copy link
Collaborator

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?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes.

Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator

@jonnyh404 jonnyh404 left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Collaborator

@obi-isebor obi-isebor left a comment

Choose a reason for hiding this comment

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

Looks good!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants