Closed beckermr closed 2 years ago
See https://github.com/LSSTDESC/seacliff/pull/4 for an example use case.
@rmjarvis This one is ready for review!
ok @rmjarvis I think I got everything. I added some extra notes to the doc string to help future Matt with a gotcha.
Code looks fine. Just one thing I didn't notice the first time. Could you please rebase this onto main, rather than releases/2.3 and redirect the target of the merge? This is a feature addition, so it shouldn't really go on the 2.3 series.
Will rebase but need to brush up on my git fu unless you have a quick oneliner for me. :)
(I always forget how to do the upstream thing for forked repos. It's easier if you started from a branch in GalSim-developers.)
This worked for me: https://medium.com/@gabriellamedas/git-rebase-and-git-rebase-onto-a6a3f83f9cce
TL;DR
git rebase --onto main releases/2.3 init-input
Moved all commits on init-input
ahead of releases/2.3
to main
.
Oh, right. That rebases onto your forked main, which is fine if that's current with the upstream main.
Awesome. FYI I cannot merge this PR so you'll have to do it once the tests pass.
This is ready to merge!
This PR adds the
initialize
method for inputs.todo:
closes #1162