-
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 analysis enums #3283
Remove analysis enums #3283
Conversation
cc76208
to
19281ed
Compare
test this please! |
19281ed
to
0a44d02
Compare
878c3e1
to
4e8d3fb
Compare
test this please! |
cfdd8a3
to
ea24390
Compare
elif variable_type == int: | ||
return analysis_module.getInt(name) | ||
else: | ||
logger.error(f"Unknown variable: {name} of type: {variable_type}") |
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.
The replacement here no longer has an: else
, should perhaps add that?
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.
Asserting variable in getvar-function and raising exception if not valid nor supported type
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.
Small comment, other than that LGTM! Good job cleaning!
The analysis module is strictly connected to which type of experiment is being ran. ES and ES_MDA use STD_ENKF and IES uses IES_ENKF. These are now hard coded
two, and their properties are not mutable.
1aa5890
to
659bdb1
Compare
Codecov Report
@@ Coverage Diff @@
## main #3283 +/- ##
==========================================
- Coverage 64.96% 64.87% -0.09%
==========================================
Files 618 615 -3
Lines 48498 48356 -142
Branches 4363 4359 -4
==========================================
- Hits 31506 31373 -133
+ Misses 15543 15528 -15
- Partials 1449 1455 +6
📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more |
659bdb1
to
0aa20ae
Compare
0aa20ae
to
4656aef
Compare
Issue
Resolves #3266
Approach
Short description of the approach
Pre review checklist
Adding labels helps the maintainers when writing release notes. This is the list of release note labels.