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
DM-34105: Move some generic code from obs_base #239
Conversation
Black makes them irrelevant.
9737322
to
cbae4b2
Compare
Codecov Report
@@ Coverage Diff @@
## main #239 +/- ##
==========================================
+ Coverage 71.55% 72.17% +0.62%
==========================================
Files 48 60 +12
Lines 6313 6595 +282
Branches 1216 1244 +28
==========================================
+ Hits 4517 4760 +243
- Misses 1574 1606 +32
- Partials 222 229 +7
Continue to review full report at Codecov.
|
0f4e6c8
to
137e070
Compare
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 great, few comments about docstrings/comments.
This is the obs_base Instrument class with the afw dependencies and the curated calibrations removed. The curated calibrations core functionality may well come back but needs some thought.
No longer need to fake one since the class does exist now in pipe_base.
This includes setting up of some click infrastructure since this is the first click command in pipe_base
There seems to be a strange interaction with the click command line test messing with the logger if called before this test and it doesn't hurt to be more specific.
Packages has moved from base to utils and can now be assumed to always be available.
obs_base is going to be hard to disentangle from afw, ip_isr, and pipe_tasks. Move a subset of Instrument class to pipe_base along with support material.
Checklist
doc/changes