Skip to content

Commit

Permalink
Merge branch 'dev' into fix-480
Browse files Browse the repository at this point in the history
  • Loading branch information
ismael-mendoza authored Apr 2, 2024
2 parents 55ec673 + 85b4a23 commit ce784c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions btk/draw_blends.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,9 +431,7 @@ def render_blend(

for ii, entry in enumerate(blend_catalog):
single_image = self.render_single(entry, filt, psf, survey)
if single_image is None:
iso_image[ii] = np.zeros(single_image)
else:
if single_image is not None:
iso_image[ii] = single_image.array
blend_image += single_image

Expand Down

0 comments on commit ce784c2

Please sign in to comment.