From bda3283a52eecc64939d6089dbf0482ceaf29386 Mon Sep 17 00:00:00 2001 From: hack Date: Wed, 5 Dec 2012 20:42:31 +0000 Subject: Update TEAL interface to write_headerlet to support a blank value for 'output' to result in a headerlet filename of _hlet.fits. git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@20684 fe389314-cf27-0410-b35b-8c050e845b92 --- lib/stwcs/gui/write_headerlet.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'lib/stwcs/gui/write_headerlet.py') 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'] -- cgit