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

improve WellModel #570

Merged
merged 4 commits into from
May 4, 2023
Merged

improve WellModel #570

merged 4 commits into from
May 4, 2023

Conversation

dbrakenhoff
Copy link
Member

@dbrakenhoff dbrakenhoff commented Mar 21, 2023

Short Description

Improve WellModel:

Question: setting rfunc to None by default, which instantiates HantushWellModel() modifies the call signature of this function. How do we deal with that (with deprecations and such)?

Checklist before PR can be merged:

- rfunc=None by default which creates HantushWellModel() instance.
- #542 improve docstring
- #543 improve error msg if stress is not list (by moving stress handling up in init)
@dbrakenhoff dbrakenhoff added the enhancement Indicates improvement of existing features label Mar 21, 2023
@dbrakenhoff dbrakenhoff added this to the 1.1 milestone Mar 21, 2023
@dbrakenhoff dbrakenhoff self-assigned this Mar 21, 2023
@codacy-production
Copy link

codacy-production bot commented Mar 21, 2023

Coverage summary from Codacy

Merging #570 (ed56bcf) into dev (1379345) - See PR on Codacy

Coverage variation Diff coverage
-0.12% (target: +0.00%) 4.35%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (1379345) 4910 3565 72.61%
Head commit (ed56bcf) 4918 (+8) 3565 (+0) 72.49% (-0.12%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#570) 23 1 4.35%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

@raoulcollenteur
Copy link
Member

About the question, code that you used before still works right? And providing None never worked? So I think we can change this without any warnings?

@dbrakenhoff
Copy link
Member Author

I'm not entirely sure why I asked that question anymore, as far as I can tell you're right and the new code shouldn't cause any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Indicates improvement of existing features
Projects
None yet
2 participants