-
Notifications
You must be signed in to change notification settings - Fork 58
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
ENH: add a method that creates a grid property between two input surfaces #1291
base: main
Are you sure you want to change the base?
Conversation
This commit focus on the python frontend
@@ -5,7 +5,7 @@ ignore_missing_imports = True | |||
strict_equality = True | |||
warn_redundant_casts = True | |||
warn_unused_configs = True | |||
warn_unused_ignores = True | |||
warn_unused_ignores = False |
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.
Changed this as it seems that mypy messages are incorrect (the # type: ignore is needed, but mypy claims it is not)
} | ||
} | ||
return std::make_tuple(xmid, ymid, zmid); | ||
} |
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.
As a note, manual testing indicates that this function in pybind11 is 2-3 times faster than the corresponding function using swig (which it now replaces).
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1291 +/- ##
==========================================
+ Coverage 80.02% 81.11% +1.08%
==========================================
Files 98 94 -4
Lines 13680 12483 -1197
Branches 2203 1882 -321
==========================================
- Hits 10948 10126 -822
+ Misses 1999 1693 -306
+ Partials 733 664 -69 ☔ View full report in Codecov by Sentry. |
Solves #1290 as derived task from https://github.com/equinor/fmu-orion-playground/issues/19
Contributes also to #1247