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

Make PileupBuilder.includeMapPositionsOutsideFrInsert intuitively correct #981

Merged
merged 4 commits into from
Apr 25, 2024

Conversation

clintval
Copy link
Member

Closes #980

@clintval
Copy link
Member Author

clintval commented Apr 24, 2024

@jrm5100 could I get your 👀 on this one?

Discussion in this thread: #980

@clintval clintval assigned clintval and unassigned tfenne Apr 24, 2024
Copy link
Contributor

@jrm5100 jrm5100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See discussion here: #980 (comment)

@clintval
Copy link
Member Author

We've settled on how the filter is supposed to work and I've updated the documentation.

The filter should now be more obvious in how it is supposed to be used.

No functional change will occur when this PR is merged. The only updates:

  • A variable name was updated to be logically correct
  • An additional unit test was added for sanity sake
  • Better documentation exists for the filter's intended use case

Copy link
Contributor

@jrm5100 jrm5100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks solid. The one test just needs updating (though I may have the intention of it wrong).

Copy link

codecov bot commented Apr 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.62%. Comparing base (3a74fd2) to head (c02e0b3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #981   +/-   ##
=======================================
  Coverage   95.62%   95.62%           
=======================================
  Files         126      126           
  Lines        7364     7364           
  Branches      506      500    -6     
=======================================
  Hits         7042     7042           
  Misses        322      322           
Flag Coverage Δ
unittests 95.62% <100.00%> (ø)

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.

@clintval clintval merged commit a82cfe0 into main Apr 25, 2024
6 checks passed
@clintval clintval deleted the cv_fixup_fr_filter branch April 25, 2024 23:30
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.

bug: the logic for the PileupBuilder includeMapPositionsOutsideFrInsert filter is wrong
4 participants