summaryrefslogtreecommitdiff
path: root/lib/stwcs/gui/pars
diff options
context:
space:
mode:
authorhack <hack@stsci.edu>2011-11-07 10:36:24 -0500
committerhack <hack@stsci.edu>2011-11-07 10:36:24 -0500
commitd372728784f465dcd451fe9b690f8574f7ec77c2 (patch)
treef107bb7b4e8bf0fca52f690c7e7509a994db5f25 /lib/stwcs/gui/pars
parente847331eced5109044af072a36921a9f776f5ded (diff)
downloadstwcs_hcf-d372728784f465dcd451fe9b690f8574f7ec77c2.tar.gz
This revision fixes a number of bugs; including:
- added a check to 'output' par value in TEAL interface to 'write_headerlet' - implemented use of 'parseinput' in TEAL interface for 'write_headerlet' - moved 'output' and 'clobber' parameters closer to top of par list in TEAL interface for 'write_headerlet' - implemented use of 'parseinput' to interpret input filename(s) for 'write_headerlet' and 'extract_headerlet' providing support for additional input modes - fixed logic problems with defining output filename in 'write_headerlet' and 'extract_headerlet' git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@13964 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/gui/pars')
-rw-r--r--lib/stwcs/gui/pars/write_headerlet.cfg4
-rw-r--r--lib/stwcs/gui/pars/write_headerlet.cfgspc4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/stwcs/gui/pars/write_headerlet.cfg b/lib/stwcs/gui/pars/write_headerlet.cfg
index 7dfa3aa..dccff0e 100644
--- a/lib/stwcs/gui/pars/write_headerlet.cfg
+++ b/lib/stwcs/gui/pars/write_headerlet.cfg
@@ -1,13 +1,13 @@
_task_name_ = write_headerlet
filename = ""
+output = ""
+clobber = True
hdrname = ""
wcskey = "PRIMARY"
wcsname = ""
author = ""
descrip = ""
history = ""
-output = ""
-clobber = True
sciext = "SCI"
destim = ""
sipname = ""
diff --git a/lib/stwcs/gui/pars/write_headerlet.cfgspc b/lib/stwcs/gui/pars/write_headerlet.cfgspc
index 5aaffe1..323ab4c 100644
--- a/lib/stwcs/gui/pars/write_headerlet.cfgspc
+++ b/lib/stwcs/gui/pars/write_headerlet.cfgspc
@@ -1,13 +1,13 @@
_task_name_ = string_kw(default="write_headerlet")
filename = string_kw(default="", comment="Input file name")
+output = string_kw(default="", comment="Filename for headerlet FITS file")
+clobber = boolean_kw(default=True, comment= "Overwrite existing headerlet FITS file?")
hdrname = string_kw(default="", comment="Unique name(HDRNAME) for headerlet[REQUIRED]")
wcskey = option_kw("A","B","C","D","E","F","G","H","I","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z","PRIMARY", default="PRIMARY", comment="Create headerlet from WCS with this letter")
wcsname = string_kw(default="", comment="Create headerlet from WCS with this name")
author = string_kw(default="", comment="Author name for creator of headerlet")
descrip = string_kw(default="", comment="Short description of headerlet solution")
history = string_kw(default="", comment="Name of ASCII file containing history for headerlet")
-output = string_kw(default="", comment="Filename for headerlet FITS file")
-clobber = boolean_kw(default=True, comment= "Overwrite existing headerlet FITS file?")
sciext = string_kw(default="SCI", comment="EXTNAME of extension with WCS")
destim = string_kw(default="", comment="Rootname of image to which this headerlet applies ")
sipname = string_kw(default="", comment="Name for source of polynomial distortion keywords")