diff options
author | Nadia Dencheva <nadia.astropy@gmail.com> | 2017-05-20 07:36:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-20 07:36:49 -0400 |
commit | 89cb57b2c6cf6fda227e882c77e505fcb5add46e (patch) | |
tree | 28a65e27001dd6c71b392a816b04ea13a6f9b902 | |
parent | 461677fe818aaa14f46f21ef933fef2fa03c82e6 (diff) | |
parent | ce4cbb2b97a31c398cce7ea1687439971594f493 (diff) | |
download | stwcs_hcf-master.tar.gz |
Remove print statement on package import when TEAL tasknames not found
-rw-r--r-- | stwcs/__init__.py | 16 |
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 |