-
Notifications
You must be signed in to change notification settings - Fork 102
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
Refactor pint.fitter
#1884
base: master
Are you sure you want to change the base?
Refactor pint.fitter
#1884
Conversation
eb55f36
to
02e9cd3
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1884 +/- ##
==========================================
- Coverage 69.84% 69.79% -0.06%
==========================================
Files 110 110
Lines 25740 25674 -66
Branches 4072 4056 -16
==========================================
- Hits 17977 17918 -59
+ Misses 6627 6622 -5
+ Partials 1136 1134 -2 ☔ View full report in Codecov by Sentry. |
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.
Looks good to me, in general.
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.
Any idea how a change to pintk.py got into this PR?
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.
A pintk test was failing on my laptop, and this minor change fixes that. It was getting skipped in the CI machine.
Reduce code duplication in
pint.fitter
, e.g., betweenWLSFitter
andDownhillWLSFitter
.A side benefit of this is that it simplifies the
Fitter
classes, making it easier to implement #1660.I accidentally merged #1883 into this, so that should be merged first.