-
Notifications
You must be signed in to change notification settings - Fork 85
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
feat: Rename kwarg with_aux to include_auxdata in pyhf.Workspace.data API #1562
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1562 +/- ##
=======================================
Coverage 97.70% 97.70%
=======================================
Files 63 63
Lines 4050 4050
Branches 576 576
=======================================
Hits 3957 3957
Misses 54 54
Partials 39 39
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
I'd suggest not making the change that CodeFactor suggests as it slows things down for no benefit, but other than that this all looks good. I know that CodeFactor will complain but we can manually ignore it.
I guess this PR is technically API breaking but only if people are actively using the kwarg
so I'm not really expecting this to break people. 👍
Thanks for addressing this so quickly! It's a breaking change for |
Co-authored-by: Matthew Feickert <matthew.feickert@cern.ch>
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.
Pull Request Description
Closes #1561. This harmonizes the API a little more by renaming with_aux to include_auxdata in
ws.data()
calls to matchmodel.expected_data()
.Checklist Before Requesting Reviewer
Before Merging
For the PR Assignees: