summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/stwcs/__init__.py2
-rw-r--r--lib/stwcs/wcsutil/headerlet.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/stwcs/__init__.py b/lib/stwcs/__init__.py
index 8a3839a..ef5d4c8 100644
--- a/lib/stwcs/__init__.py
+++ b/lib/stwcs/__init__.py
@@ -35,7 +35,7 @@ if False :
except:
pass
else :
- __version__ = '0.9.2'
+ __version__ = '1.0.0'
try:
diff --git a/lib/stwcs/wcsutil/headerlet.py b/lib/stwcs/wcsutil/headerlet.py
index 557057f..1cc003c 100644
--- a/lib/stwcs/wcsutil/headerlet.py
+++ b/lib/stwcs/wcsutil/headerlet.py
@@ -1950,7 +1950,7 @@ class Headerlet(pyfits.HDUList):
# Create a headerlet for the original Primary WCS data in the file,
# create an HDU from the original headerlet, and append it to
# the file
- orig_hlt = create_headerlet(fobj, sciext=wcsextn[0],
+ orig_hlt = create_headerlet(fobj, sciext=wcsextn,
wcsname=wcsname, wcskey=wcskey,
hdrname=hdrname, sipname=None,
npolfile=None, d2imfile=None,