diff options
| author | dencheva <dencheva@stsci.edu> | 2014-04-28 15:44:02 -0400 |
|---|---|---|
| committer | dencheva <dencheva@stsci.edu> | 2014-04-28 15:44:02 -0400 |
| commit | a4081a38404b8759a185638fb49687c196153464 (patch) | |
| tree | 8313dd70d6493dae50854a1ffb19b68c7b3d8520 /lib/stwcs/gui/extract_headerlet.py | |
| parent | d7256629cc01af99cb5e3be70a64000f6d2fb0dc (diff) | |
| download | stwcs_hcf-a4081a38404b8759a185638fb49687c196153464.tar.gz | |
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
Diffstat (limited to 'lib/stwcs/gui/extract_headerlet.py')
| -rw-r--r-- | lib/stwcs/gui/extract_headerlet.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/stwcs/gui/extract_headerlet.py b/lib/stwcs/gui/extract_headerlet.py index c807920..16a0aee 100644 --- a/lib/stwcs/gui/extract_headerlet.py +++ b/lib/stwcs/gui/extract_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 @@ -51,7 +52,7 @@ def run(configObj=None): del cdict['output'] # Call function with properly interpreted input parameters - # Syntax: extract_headerlet(filename, output, extnum=None, hdrname=None, + # Syntax: extract_headerlet(filename, output, extnum=None, hdrname=None, # clobber=False, verbose=100) headerlet.extract_headerlet(configObj['filename'], configObj['output'], **cdict) |
