Skip to content

Commit

Permalink
fix bug from refactor with make_psf_obs
Browse files Browse the repository at this point in the history
  • Loading branch information
esheldon committed Nov 23, 2016
1 parent 7a370e1 commit 63b90f0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ngmix/metacal.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,10 @@ def get_target_psf(self, shear, type, get_nopix=False):
else:
doshear=False

psf_grown, psf_grown_nopix = self._get_dilated_psf(shear, doshear=doshear)
psf_grown, psf_grown_nopix = self._get_dilated_psf(
shear,
doshear=doshear,
)

# this should carry over the wcs
psf_grown_image = self.psf_image.copy()
Expand Down Expand Up @@ -743,6 +746,7 @@ def _make_obs(self, im, psf_im):
jacobian=obs.jacobian.copy(),
weight=obs.weight.copy(),
psf=psf_obs)
return newobs

class MetacalAnalyticPSF(Metacal):
"""
Expand Down

0 comments on commit 63b90f0

Please sign in to comment.