summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2014-05-02 13:44:44 -0400
committerdencheva <dencheva@stsci.edu>2014-05-02 13:44:44 -0400
commite08f035f78da1cc3115f349b9c5b5b8e6de1b941 (patch)
tree0b25930d75435e4f6da3ea84631d5772bf0035cd
parent5156c93c3ad428f04e28d27b7149df06c161c3c1 (diff)
downloadstwcs_hcf-e08f035f78da1cc3115f349b9c5b5b8e6de1b941.tar.gz
fix a typo
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31370 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r--lib/stwcs/wcsutil/headerlet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stwcs/wcsutil/headerlet.py b/lib/stwcs/wcsutil/headerlet.py
index a314cc0..4313143 100644
--- a/lib/stwcs/wcsutil/headerlet.py
+++ b/lib/stwcs/wcsutil/headerlet.py
@@ -1025,7 +1025,7 @@ def create_headerlet(filename, sciext='SCI', hdrname=None, destim=None,
whdul = hwcs.to_fits(relax=True, key=" ")
if hasattr(hwcs, 'orientat'):
orient_comment = "positions angle of image y axis (deg. e of n)"
- whdul[0].header['ORIENTAT'] = (wcs.orientat, orient_comment)
+ whdul[0].header['ORIENTAT'] = (hwcs.orientat, orient_comment)
whdul[0].header.append(('TG_ENAME', ext[0], 'Target science data extname'))
whdul[0].header.append(('TG_EVER', ext[1], 'Target science data extver'))