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

Addition of test for missing aggregation function when require_all_aggregators=True #4770

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

talagayev
Copy link
Member

@talagayev talagayev commented Oct 28, 2024

Fixes #4650

Changes made in this Pull Request:

  • Addition of test_missing_aggregator in test_results.py to cover ValueError case when
    the aggregation is missing and require_all_aggregators=True in ResultsGroup.merge()

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

Developers certificate of origin


📚 Documentation preview 📚: https://mdanalysis--4770.org.readthedocs.build/en/4770/

Added test_missing_aggregator to cover the raisevalue error that requires the aggregators
@pep8speaks
Copy link

pep8speaks commented Oct 28, 2024

Hello @talagayev! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2024-10-28 13:36:34 UTC

Copy link

codecov bot commented Oct 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.67%. Comparing base (e776f12) to head (5d32d15).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4770   +/-   ##
========================================
  Coverage    93.66%   93.67%           
========================================
  Files          177      177           
  Lines        21726    21726           
  Branches      3052     3052           
========================================
+ Hits         20349    20351    +2     
+ Misses         930      928    -2     
  Partials       447      447           

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

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.

Test missing aggregation function when require_all_aggregators=True
3 participants