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-38472: Reformat Bright Star Subtraction Processing Tasks #779
Conversation
40bab59
to
2dc20e8
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.
LGTM!
70b5f2e
to
45360de
Compare
cd2d5ea
to
16b3947
Compare
from lsst.afw import math as afwMath | ||
from lsst.afw.fits import Fits, readMetadata | ||
from lsst.afw.image import ImageF, MaskedImageF, MaskX | ||
from lsst.afw.math import StatisticsControl, statisticsStack, stringToStatisticsProperty |
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.
Just out of curiosity, why do you prefer importing the stuff you need rather than importing the library and using it from there? Is it simply to reduce the line length when they appear later?
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.
Reducing line length is certainly a consideration, yes. I find the code more readable later on if my imports do the heavy lifting above. I also like that the imports are explicit about what is being used in this package. However, I'm certainly not committed to one way or the other, and would consider changing back if needs be?
With that said, following our discussion earlier in the week, I'll leave this as-is for now. Thanks for the useful discussions!
16b3947
to
e658f7a
Compare
e658f7a
to
f8db1c1
Compare
No description provided.