diff options
author | hack <hack@stsci.edu> | 2011-10-25 17:25:35 -0400 |
---|---|---|
committer | hack <hack@stsci.edu> | 2011-10-25 17:25:35 -0400 |
commit | b5f4204747f7e4105049713b40d7bca0fae052e5 (patch) | |
tree | 8a2bd7713049a348ea3d955c646ccf1a7c4b7815 /lib/stwcs/__init__.py | |
parent | c68d6121a6847327df30ece3d90d8cfe0919367b (diff) | |
download | stwcs_hcf-b5f4204747f7e4105049713b40d7bca0fae052e5.tar.gz |
Merging changes from 'stwcs_hdrlet' branch (r18787 - r13909) into trunk. This version of STWCS (0.9.1) provides support for headerlets based on 'Headerlet Design' wiki document, and includes TEAL interfaces for all public headerlet functions. It also moves the TEAL interface for 'updatewcs' from 'astrodither' to this package. The TEAL interaces have been included as a new 'gui' sub-package in order to keep them separate from the remainder of the package's functionality.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13910 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/__init__.py')
-rw-r--r-- | lib/stwcs/__init__.py | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/stwcs/__init__.py b/lib/stwcs/__init__.py index 5b3f106..3c8879d 100644 --- a/lib/stwcs/__init__.py +++ b/lib/stwcs/__init__.py @@ -15,17 +15,15 @@ descriptions in the headers. """ from __future__ import division # confidence high +import os import distortion import pywcs from stsci.tools import fileutil +from stsci.tools import teal __docformat__ = 'restructuredtext' -DEGTORAD = fileutil.DEGTORAD -RADTODEG = fileutil.RADTODEG - - if False : __version__ = '' __svn_version = '' @@ -37,7 +35,7 @@ if False : except: pass else : - __version__ = '0.9' + __version__ = '0.9.1' try: @@ -45,3 +43,10 @@ try: __setup_datetime__) except ImportError: __svn_version__ = 'Unable to determine SVN revision' + +try: + import gui + teal.print_tasknames(gui.__name__, os.path.dirname(gui.__file__)) + print '\n' +except: + print 'No TEAL-based tasks available for this package!' |