summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Davies <jdavies@stsci.edu>2017-05-19 17:41:00 -0400
committerJames Davies <jdavies@stsci.edu>2017-05-19 17:41:00 -0400
commitce4cbb2b97a31c398cce7ea1687439971594f493 (patch)
tree28a65e27001dd6c71b392a816b04ea13a6f9b902
parent461677fe818aaa14f46f21ef933fef2fa03c82e6 (diff)
downloadstwcs_hcf-ce4cbb2b97a31c398cce7ea1687439971594f493.tar.gz
Remove print statement on package import when TEAL tasknames not found
-rw-r--r--stwcs/__init__.py16
1 files changed, 7 insertions, 9 deletions
diff --git a/stwcs/__init__.py b/stwcs/__init__.py
index cd8b0e6..694c3cc 100644
--- a/stwcs/__init__.py
+++ b/stwcs/__init__.py
@@ -1,15 +1,14 @@
""" STWCS
This package provides support for WCS based distortion models and coordinate
-transformation. It relies on PyWCS (based on WCSLIB). It consists of two
-subpackages: updatewcs and wcsutil.
+transformation. It relies on astropy.wcs (based on WCSLIB). It consists of
+two subpackages: updatewcs and wcsutil.
-updatewcs performs corrections to the
-basic WCS and includes other distortion infomation in the science files as
-header keywords or file extensions.
+updatewcs performs corrections to the basic WCS and includes other distortion
+infomation in the science files as header keywords or file extensions.
-Wcsutil provides an HSTWCS object which extends pywcs.WCS object and provides
-HST instrument specific information as well as methods for coordinate
+Wcsutil provides an HSTWCS object which extends astropy.wcs.WCS object and
+provides HST instrument specific information as well as methods for coordinate
transformation. wcsutil also provides functions for manipulating alternate WCS
descriptions in the headers.
@@ -21,7 +20,6 @@ from . import distortion
from stsci.tools import fileutil
from stsci.tools import teal
-
from .version import *
try:
@@ -29,4 +27,4 @@ try:
teal.print_tasknames(gui.__name__, os.path.dirname(gui.__file__))
print('\n')
except:
- print('No TEAL-based tasks available for this package!')
+ pass