-
Notifications
You must be signed in to change notification settings - Fork 45
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
Improve warning handling for non-positive values when apply_log = True
for InterRowMSAS
#671
Conversation
c8039a4
to
d00a3d7
Compare
or len(data) != 2 | ||
or (not (isinstance(data[0], pd.Series) and isinstance(data[1], pd.Series))) | ||
): | ||
raise ValueError('The data must be a tuple of two pandas series.') |
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.
Should we added tests for these 3 exceptions?
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 tests have already been implemented. This change simply reorganizes the function for readability.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #671 +/- ##
==========================================
- Coverage 94.13% 94.11% -0.03%
==========================================
Files 105 105
Lines 3921 3941 +20
==========================================
+ Hits 3691 3709 +18
- Misses 230 232 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
CU-86b2xa92t, Resolve #670.