diff options
-rw-r--r-- | lib/stwcs/wcsutil/hstwcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stwcs/wcsutil/hstwcs.py b/lib/stwcs/wcsutil/hstwcs.py index 4bd6eb0..978ab4f 100644 --- a/lib/stwcs/wcsutil/hstwcs.py +++ b/lib/stwcs/wcsutil/hstwcs.py @@ -384,7 +384,7 @@ class HSTWCS(WCS): If True - include SIP coefficients """ - h = self.to_header(wkey=wcskey, relax=relax) + h = self.to_header(key=wcskey, relax=relax) if not wcskey: wcskey = self.wcs.alt if self.wcs.has_cd(): |