Closed jchiang87 closed 6 years ago
If you look at commit e56afee683
in GalSim, it looks like what used to be called _stepK()
(which OptWF
does have), is now called _getStepK()
.
So... we can probably just rename OptWF._stepK()
to OptWF._getStepK()
and it will just work...?
Thanks, Scott! I can give it a try.
Yes, that's fixed it. Thanks!
Object Oriented Programming: "make this thing look like that other thing; that'll probably do it..."
Hey, if it quacks like a duck....it's good enough for python.
Yes. Sorry about that. We probably thought that was a non-public change that didn't need to be advertised. I think the old _stepK
function clashed with a different use that was incompatible, so we needed to change it.
Is there a PR associated with this one? I can't find it so, is it in one of the others?
There's no specific PR. In the interest of expediency, I folded it into the changes in the u/jchiang/instcat_memory_fix
branch. Here are the two relevant commits: 27b82579b 89e28f9
Got it thanks.
This was fixed as part of the big 2.0i release candidate branch merge. The commits are 27b8257 89e28f9.
Running using galsm v2.0.7 in the lsst_sims 2.10.0 shifter image at NERSC, I'm getting this error:
This is using the
u/jchiang/instcat_memory_fix
branch of imSim (2bf5c5b0) @jmeyers314 Could you have a look please?