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

Fix bug in classification #39

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Fix bug in classification #39

merged 1 commit into from
Jul 10, 2024

Conversation

trappitsch
Copy link
Collaborator

When passing symmetric uncertainties for C, N for example and then splitting them up, there's a rare scenario where TypeError does not get raised but the routine invokes an IndexError for splitting up the uncertainties. This is now resolved by checking for both types of exceptions.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.36%. Comparing base (8cdb95f) to head (0d7e5ac).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
+ Coverage   81.26%   83.36%   +2.10%     
==========================================
  Files          11       11              
  Lines         571      571              
==========================================
+ Hits          464      476      +12     
+ Misses        107       95      -12     

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

@trappitsch trappitsch merged commit d67db3b into main Jul 10, 2024
6 checks passed
@trappitsch trappitsch deleted the BF_classification branch July 10, 2024 08:22
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.

2 participants