summaryrefslogtreecommitdiff
path: root/lib/stwcs/gui/headerlet_summary.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stwcs/gui/headerlet_summary.py')
-rw-r--r--lib/stwcs/gui/headerlet_summary.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/stwcs/gui/headerlet_summary.py b/lib/stwcs/gui/headerlet_summary.py
index 1b2245e..7772a95 100644
--- a/lib/stwcs/gui/headerlet_summary.py
+++ b/lib/stwcs/gui/headerlet_summary.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):
-
+
# create dictionary of remaining parameters, deleting extraneous ones
# such as those above
cdict = configObj.dict()
@@ -43,7 +44,7 @@ def run(configObj=None):
cdict['columns'] = None
# Call function with properly interpreted input parameters
- # Syntax: headerlet_summary(filename,columns=None,pad=2,maxwidth=None,
+ # Syntax: headerlet_summary(filename,columns=None,pad=2,maxwidth=None,
# output=None,clobber=True,quiet=False)
headerlet.headerlet_summary(configObj['filename'],**cdict)