-
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
Remove local dataset notion #2645
Remove local dataset notion #2645
Conversation
51b8bac
to
002f5b2
Compare
Codecov Report
@@ Coverage Diff @@
## main #2645 +/- ##
==========================================
+ Coverage 64.77% 64.82% +0.04%
==========================================
Files 650 649 -1
Lines 54063 53876 -187
Branches 4591 4547 -44
==========================================
- Hits 35021 34924 -97
+ Misses 17562 17493 -69
+ Partials 1480 1459 -21
Continue to review full report at Codecov.
|
002f5b2
to
3ac6128
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.
This looks very good! It would be good to remove the unordered maps used previously to hold parameters pr dataset, as they are no longer needed
3ac6128
to
549453e
Compare
Remember to rebase and clean up the commit messages |
res/enkf/local_ministep.py
Outdated
raise TypeError("Keys must be strings, not int!") | ||
if data_key in self: | ||
return self._get_local_data(data_key) | ||
def setEnsembleConfig(self, config): |
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.
perhaps we should avoid camel-casing?
This type was relevant when using Kalman-filters which is not the case anymore. See equinor#2539 for details. Some parts of the functionality was needed, however, so the class can not just be removed. Move necessary functionality from local_dataset_type to local_ministep_type, then update and simplify usage. Separate unit-test for local_dataset_type removed.
b92282b
to
c0a4b76
Compare
test ert please |
1 similar comment
test ert please |
Issue
Resolves #2539
Approach
Moving functionality from
local_dataset_type
tolocal_ministep_type
, the remove the former.PR currently has two commits: first to make
libres
compile and run ctests, second to fix some issues and make the Python-based tests work. There will be at third commit to remove all traces oflocal_dataset_type
but I expect a number of comments and suggestions on the first two to handle first.