Skip to content

Commit

Permalink
Update jump.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mwregan2 committed Jan 5, 2024
1 parent 07badf3 commit 28bff55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stcal/jump/jump.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,9 +683,9 @@ def extend_ellipses(
diff_cube = out_gdq_cube - gdq_cube
return out_gdq_cube, num_ellipses

def find_last_grp(grp, ngrps, num_grps_masked):
num_grps_masked += 1
last_grp = min(grp + num_grps_masked, ngrps)
def find_last_grp(grp, ngrps, num_grps_masked_after):
num_grps_masked_after += 1
last_grp = min(grp + num_grps_masked_after, ngrps)
return last_grp

def find_circles(dqplane, bitmask, min_area):
Expand Down

0 comments on commit 28bff55

Please sign in to comment.