-
Notifications
You must be signed in to change notification settings - Fork 104
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
Avoid BoolVector in Python code #3251
Conversation
cb117d3
to
1689abb
Compare
410f10b
to
6bbb828
Compare
@@ -83,7 +84,7 @@ def run_path(self): | |||
return self._enkf_main.getModelConfig().getRunpathAsString() | |||
|
|||
def load_from_forward_model( | |||
self, case: str, realisations: BoolVector, iteration: int | |||
self, case: str, realisations: List[bool], iteration: int |
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.
I see that we use both spelling for realization
and realisation
. Maybe we should unify them at same point.
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, that would be an issue of its own.
6594c70
to
812b5cd
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.
Good job! LGTM 🚀
Codecov Report
@@ Coverage Diff @@
## main #3251 +/- ##
==========================================
- Coverage 64.90% 64.90% -0.01%
==========================================
Files 619 619
Lines 48709 48647 -62
Branches 4370 4370
==========================================
- Hits 31617 31572 -45
+ Misses 15652 15632 -20
- Partials 1440 1443 +3
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
812b5cd
to
f5655f3
Compare
6aa270e
to
d9b5b66
Compare
jenkins test pleas |
d9b5b66
to
f3d60f8
Compare
Issue
Resolves #3121
Resolves #3141
Approach
Replace usage of
BoolVector
withList[bool]
except for the final call to wrapped C-code. Use new Python objectActiveRange
for interpreting range strings.Pre review checklist
Adding labels helps the maintainers when writing release notes. This is the list of release note labels.