-
Notifications
You must be signed in to change notification settings - Fork 6
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 top-level LSST metadetect #223
Refactor top-level LSST metadetect #223
Conversation
739e57f
to
313aac0
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.
Why were the ngmix upstream tests removed?
Ditto for the extra test skeips etc. All of that needs to be backed out before we can consider merging this.
Co-authored-by: Ismael Mendoza <imendoza@umich.edu>
Co-authored-by: Ismael Mendoza <imendoza@umich.edu>
c6cae7f
to
d058b72
Compare
Thanks to @ismael-mendoza for doing the big chunk of this work. We've tested this by also running the shear recovery tests in |
This looks OK to me. I think we need to run it at scale to stress test it, and look at outputs for sanity checks. |
I am happy to run extensive tests but would need some handholding to get started. |
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 have some comments/questions. Sorry for the delay!
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 made changes/addressed the questions from previous review and I think this is ready for another round of review, Matt.
rubin-env-10 now uses python 3.12 and is needed to run with the latest stackvana.
This reverts commit fc0b66b.
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 on the code! One more request.
Can we add some documentation somewhere or links to it to explain a bit about how the config works, how we can ensure the config is not changed, etc.?
We had a ton of discussion on this, but I forgot the results and it feels like we should write it down.
I've added a README to the Additionally, I'd like to include |
Looks like sep is not on numpy2 yet and the feedstock is falling behind. I am working on it now. |
Thank you! However, the LSST-specific tests, which is where I tried adding 3.12 should not require |
Ah we can fix that as well by separating out the files. Are you adding 3.12 here or in another PR? |
I will add 3.12 in another PR. |
@arunkannawadi I can help there to separate out the requirements if needed! |
Alright, thanks. That'll be in a week or so after this week's |
@esheldon you ok to merge here? |
This is a preview of the refactoring I mentioned in #220 . It currently refactors only the top-most level making run_metadetect, which is the typical entry point, a wrapper around a Task. The extensive coverage with unit tests should make us all feel confident going about such refactoring. The fact that the the unit tests pass without any changes also shows that the public APIs remain unchanged.