Skip to content
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

Merged
merged 4 commits into from
Nov 22, 2024

Conversation

fealho
Copy link
Member

@fealho fealho commented Nov 19, 2024

CU-86b2xa92t, Resolve #670.

@sdv-team
Copy link
Contributor

@fealho fealho marked this pull request as ready for review November 19, 2024 17:44
@fealho fealho requested a review from a team as a code owner November 19, 2024 17:44
@fealho fealho requested review from gsheni and pvk-developer and removed request for a team November 19, 2024 17:44
@fealho fealho force-pushed the issue-670-warnings-log branch from c8039a4 to d00a3d7 Compare November 20, 2024 16:56
@fealho fealho requested a review from pvk-developer November 20, 2024 16:56
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.')
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link

codecov bot commented Nov 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.11%. Comparing base (09bbee9) to head (4b080ca).
Report is 1 commits behind head on main.

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     
Flag Coverage Δ
integration 78.05% <17.50%> (-0.30%) ⬇️
unit 79.75% <100.00%> (+0.10%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@fealho fealho merged commit ef825d9 into main Nov 22, 2024
49 checks passed
@fealho fealho deleted the issue-670-warnings-log branch November 22, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve warning handling for non-positive values when apply_log = True for InterRowMSAS
4 participants