Skip to content

Commit

Permalink
Merge pull request #223 from astrophpeter/djones-cutout-fixes-2
Browse files Browse the repository at this point in the history
one more cutout problem
  • Loading branch information
djones1040 authored Apr 30, 2024
2 parents 4763792 + a658993 commit 337b877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/host/host_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def select_cutout_aperture(cutouts, choice=0):


def select_aperture(transient):
cutouts = Cutout.objects.filter(transient=transient)
cutouts = Cutout.objects.filter(transient=transient).filter(~Q(fits=""))
if len(cutouts):
cutout_for_aperture = select_cutout_aperture(cutouts)
if len(cutouts) and len(cutout_for_aperture):
Expand Down

0 comments on commit 337b877

Please sign in to comment.