Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrammer committed Nov 17, 2023
1 parent 424308d commit ac85ae8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion grizli/jwst_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3063,7 +3063,7 @@ def update_pure_parallel_wcs(file, fix_vtype='PARALLEL_PURE', verbose=True):
im[1].header['CRVAL1'] = crval_fix[0]
im[1].header['CRVAL2'] = crval_fix[1]
im[1].header['PUREPWCS'] = True, 'WCS updated from PP query'
im[1].header['PUREPEXP'] = row['filename'], 'Prime exposure file'
im[1].header['PUREPEXP'] = gs['fileName'], 'FGS log file'

im.flush()

Expand Down Expand Up @@ -3320,6 +3320,8 @@ def compute_siaf_pa_offset(c1, c2, c2_pa=202.9918, swap_coordinates=True, verbos
"""
from astropy.coordinates import SkyCoord
import astropy.units as u

if not hasattr(c1, 'ra'):
cat_coord = SkyCoord(*c1, unit='deg')
else:
Expand Down

0 comments on commit ac85ae8

Please sign in to comment.