diff options
author | dencheva <dencheva@stsci.edu> | 2011-02-24 16:33:25 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2011-02-24 16:33:25 -0500 |
commit | 393f3343732f159d0038f822ed289d10a2e07413 (patch) | |
tree | c1e75a207a25d9d22685a68563d878fe0fb5c321 /wcsutil/hstwcs.py | |
parent | 0529fe7fede22b0f6978e430dff51eb5fd4346b7 (diff) | |
download | stwcs_hcf-393f3343732f159d0038f822ed289d10a2e07413.tar.gz |
Closes #674: updatewcs adds a keyword UPWCSVER to the primary header of the flt file to record the version of STWCS used in the updates. In addition removed the __version__ string from hstwcs - we have decided to have only one version string for the entire package.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@12011 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/hstwcs.py')
-rw-r--r-- | wcsutil/hstwcs.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wcsutil/hstwcs.py b/wcsutil/hstwcs.py index 122a0ba..9bf944f 100644 --- a/wcsutil/hstwcs.py +++ b/wcsutil/hstwcs.py @@ -17,8 +17,6 @@ from mappings import basic_wcs __docformat__ = 'restructuredtext' -__version__ = '0.7.1' - class HSTWCS(WCS): @@ -260,7 +258,7 @@ class HSTWCS(WCS): if self.wcs.has_cd(): h = altwcs.pc2cd(h, key=self.wcskey) - if sip2hdr: + if sip2hdr and self.sip: hwcs = h.ascardlist() cards = self._sip2hdr('a') hwcs.extend(cards) |