Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
debora-pe committed Jul 19, 2023
1 parent 724e5c6 commit 3b4ca61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypeit/coadd2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def coadd(self, only_slits=None, interp_dspat=True):
if self.pypeline == 'Echelle' and self.weights == 'auto':
_weights = self.use_weights[slit_idx]
else:
_weights = self.weights
_weights = self.use_weights

# Perform the 2d coadd
# NOTE: mask_stack is a gpm, and this is called inmask_stack in
Expand Down

0 comments on commit 3b4ca61

Please sign in to comment.