Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ismael-mendoza committed Apr 2, 2024
1 parent ba99664 commit da66a9a
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 da66a9a

Please sign in to comment.