diff options
author | dencheva <dencheva@stsci.edu> | 2015-05-22 10:49:26 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2015-05-22 10:49:26 -0400 |
commit | dc070c60f0d9124ad8ef4c04cd04d96bb5b9a23f (patch) | |
tree | bde60685cae7a48b5ce8f05094644d4a8f1681d4 /lib/stwcs/wcsutil/altwcs.py | |
parent | 6a6586bf25b1e800dab2de380448f40eae0b2e08 (diff) | |
download | stwcs_hcf-dc070c60f0d9124ad8ef4c04cd04d96bb5b9a23f.tar.gz |
Reverting r40221 - unintentionally checked in these changes.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@40327 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/wcsutil/altwcs.py')
-rw-r--r-- | lib/stwcs/wcsutil/altwcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stwcs/wcsutil/altwcs.py b/lib/stwcs/wcsutil/altwcs.py index 4e11890..293f22d 100644 --- a/lib/stwcs/wcsutil/altwcs.py +++ b/lib/stwcs/wcsutil/altwcs.py @@ -327,7 +327,7 @@ def deleteWCS(fname, ext, wcskey=" ", wcsname=" "): return wcskeyext = ext[0] - print('wcskeyext', wcskeyext, ext) + if not wcskeys and not wcsname: raise KeyError("Either wcskey or wcsname should be specified") |