-
Notifications
You must be signed in to change notification settings - Fork 0
🐛 fix(stats.py) correct shape condition in add_samples #62
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
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
…, better type checking, better modularity
…nt between samples + improve tests for type checking + tests for new methods
@xroynard thanks for the modifications ! I improved the coverage, but two instructions are still not checked in tests, and I have difficulties understanding this part of the code -> adding a review |
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.
two missing lines in coverage
src/plaid/utils/stats.py
Outdated
# flatten corresponding stat | ||
if ( | ||
stat_key in self._stats | ||
): # TODO: ADD THIS IN TESTS |
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.
not executed in tests
src/plaid/utils/stats.py
Outdated
if ( | ||
isinstance(list_of_arrays[i], np.ndarray) | ||
and list_of_arrays[i].ndim == 1 | ||
): # TODO: ADD THIS IN TESTS |
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.
not executed in tests
No description provided.