summaryrefslogtreecommitdiff
path: root/lib/stwcs/gui/write_headerlet.py
diff options
context:
space:
mode:
authorhack <hack@stsci.edu>2012-12-05 15:42:31 -0500
committerhack <hack@stsci.edu>2012-12-05 15:42:31 -0500
commitbda3283a52eecc64939d6089dbf0482ceaf29386 (patch)
tree8209867a28f95ef4b1a5c100c80bb1c5de24b75a /lib/stwcs/gui/write_headerlet.py
parente646fadec3123a2c3f837f9a2d0cb56c01dcb765 (diff)
downloadstwcs_hcf-bda3283a52eecc64939d6089dbf0482ceaf29386.tar.gz
Update TEAL interface to write_headerlet to support a blank value for 'output' to result in a headerlet filename of <rootname>_hlet.fits.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20684 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/gui/write_headerlet.py')
-rw-r--r--lib/stwcs/gui/write_headerlet.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/stwcs/gui/write_headerlet.py b/lib/stwcs/gui/write_headerlet.py
index ffd7416..442650d 100644
--- a/lib/stwcs/gui/write_headerlet.py
+++ b/lib/stwcs/gui/write_headerlet.py
@@ -51,13 +51,7 @@ def run(configObj=None):
return
if configObj['output'] in ['',' ','INDEF']:
- print '='*60
- print 'ERROR:'
- print ' No valid "output" parameter value provided!'
- print ' Please restart this task and provide a value for this parameter.'
- print '='*60
- return
-
+ configObj['output'] = None
str_kw = ['wcsname','destim','sipname','npolfile','d2imfile',
'descrip','history','author','output','catalog']