diff options
author | dencheva <dencheva@stsci.edu> | 2010-07-16 13:35:53 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2010-07-16 13:35:53 -0400 |
commit | 187f9d9598db3a44a1a24a43aef2dbb393cd4bbf (patch) | |
tree | ce9e4c99511f8b9bdc2e4eadfe6f6ca14491a7b3 /wcsutil/__init__.py | |
parent | cfb8e3b4a7e20ed97a6566e11352d8948f33d9b7 (diff) | |
download | stwcs_hcf-187f9d9598db3a44a1a24a43aef2dbb393cd4bbf.tar.gz |
Should call repr instead of str which inserts \n
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@9877 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/__init__.py')
-rw-r--r-- | wcsutil/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsutil/__init__.py b/wcsutil/__init__.py index ee93668..7e87fa6 100644 --- a/wcsutil/__init__.py +++ b/wcsutil/__init__.py @@ -286,7 +286,7 @@ class HSTWCS(WCS): cdl.append(card) h = pyfits.Header(cdl) - wprm = Wcsprm(str(h.ascardlist())) + wprm = Wcsprm(repr(h.ascard)) self.wcs = wprm self.setPscale() self.setOrient() |