-
Notifications
You must be signed in to change notification settings - Fork 105
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
Get params from storage not from config #6200
Conversation
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.
LGTM! Just some minor comments wrt tests
prior_ens = snake_oil_storage.get_ensemble_by_name("default_0") | ||
experiment = snake_oil_storage.get_experiment(prior_ens.experiment_id) | ||
posterior_ens = snake_oil_storage.create_ensemble( | ||
experiment, |
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.
Think you can just do: prior_ens.experiment_id here
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.
Same for the other instances as well
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.
Fixed, thanks 👍
3d2424b
to
5727a88
Compare
5727a88
to
cb74949
Compare
Codecov Report
@@ Coverage Diff @@
## main #6200 +/- ##
==========================================
+ Coverage 82.64% 82.66% +0.01%
==========================================
Files 347 347
Lines 21249 21246 -3
Branches 834 834
==========================================
+ Hits 17561 17562 +1
+ Misses 3390 3387 -3
+ Partials 298 297 -1
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Pre review checklist
Ground Rules),
and changes to existing code have good test coverage.
Pre merge checklist