From a4081a38404b8759a185638fb49687c196153464 Mon Sep 17 00:00:00 2001 From: dencheva Date: Mon, 28 Apr 2014 19:44:02 +0000 Subject: changes to use astropy instead of pyfits and pywcs git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@31240 fe389314-cf27-0410-b35b-8c050e845b92 --- lib/stwcs/gui/attach_headerlet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/stwcs/gui/attach_headerlet.py') diff --git a/lib/stwcs/gui/attach_headerlet.py b/lib/stwcs/gui/attach_headerlet.py index e33fdf2..5a3bdc8 100644 --- a/lib/stwcs/gui/attach_headerlet.py +++ b/lib/stwcs/gui/attach_headerlet.py @@ -1,6 +1,7 @@ import os -import pyfits +#import pyfits +from astropy.io import fits as pyfits from stsci.tools import teal import stwcs @@ -31,7 +32,7 @@ def getHelpAsString(docstring=False): return helpString def run(configObj=None): - + headerlet.attach_headerlet(configObj['filename'],configObj['hdrlet'], configObj['logging']) -- cgit