Skip to content

Commit

Permalink
consistent setting of pixel indices
Browse files Browse the repository at this point in the history
  • Loading branch information
rcooke-ast committed Oct 15, 2024
1 parent 8dbf228 commit 0dce8e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pypeit/calibrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,8 @@ def get_flats(self):

# get pixel flat frames
pixel_frame = {'type': 'pixelflat', 'class': flatfield.FlatImages}
raw_pixel_files, pixel_cal_file, pixel_calib_key, pixel_setup, pixel_calib_id, detname \
= [], None, None, illum_setup, None, detname
raw_pixel_files, raw_pixel_index, pixel_cal_file, pixel_calib_key, pixel_setup, pixel_calib_id, detname \
= [], [], None, None, illum_setup, None, detname
# read in the raw pixelflat frames only if the user has not provided a pixelflat_file
if self.par['flatfield']['pixelflat_file'] is None:
raw_pixel_files, raw_pixel_index, pixel_cal_file, pixel_calib_key, pixel_setup, pixel_calib_id, detname \
Expand Down

0 comments on commit 0dce8e9

Please sign in to comment.