diff --git a/drizzlepac/hlautils/align_utils.py b/drizzlepac/hlautils/align_utils.py index 425705550..17e7ff46c 100644 --- a/drizzlepac/hlautils/align_utils.py +++ b/drizzlepac/hlautils/align_utils.py @@ -821,7 +821,8 @@ def update_image_wcs_info(tweakwcs_output, headerlet_filenames=None, fit_label=N hdulist[sci_extn].header['CRDER1'] = item.meta['fit_info']['RMS_RA'].value hdulist[sci_extn].header['CRDER2'] = item.meta['fit_info']['RMS_DEC'].value hdulist[sci_extn].header['NMATCHES'] = len(item.meta['fit_info']['ref_mag']) - + hdulist[sci_extn].header['HDRNAME'] = "{}_{}".format(image_name.rstrip(".fits"), wcs_name) + if chipctr == num_sci_ext: # Close updated flc.fits or flt.fits file hdulist.flush()