summaryrefslogtreecommitdiff
path: root/lib/stwcs/gui/pars
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2011-12-06 16:27:47 -0500
committerdencheva <dencheva@stsci.edu>2011-12-06 16:27:47 -0500
commitf5e720fa9cb1a5e9d0c4bc9658cbd3455ef327e3 (patch)
tree6e0b2fd8486f21480f62312e0e0a52bc0435d038 /lib/stwcs/gui/pars
parent2bb9dc8fac2b32e8a5393c0e73e5f1deb81b478c (diff)
downloadstwcs_hcf-f5e720fa9cb1a5e9d0c4bc9658cbd3455ef327e3.tar.gz
A major overhaul of logging
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@14051 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'lib/stwcs/gui/pars')
-rw-r--r--lib/stwcs/gui/pars/apply_headerlet.cfg2
-rw-r--r--lib/stwcs/gui/pars/apply_headerlet.cfgspc2
-rw-r--r--lib/stwcs/gui/pars/archive_headerlet.cfg1
-rw-r--r--lib/stwcs/gui/pars/archive_headerlet.cfgspc1
-rw-r--r--lib/stwcs/gui/pars/attach_headerlet.cfg1
-rw-r--r--lib/stwcs/gui/pars/attach_headerlet.cfgspc1
-rw-r--r--lib/stwcs/gui/pars/delete_headerlet.cfg1
-rw-r--r--lib/stwcs/gui/pars/delete_headerlet.cfgspc1
-rw-r--r--lib/stwcs/gui/pars/extract_headerlet.cfg2
-rw-r--r--lib/stwcs/gui/pars/extract_headerlet.cfgspc2
-rw-r--r--lib/stwcs/gui/pars/restore_headerlet.cfg1
-rw-r--r--lib/stwcs/gui/pars/restore_headerlet.cfgspc1
-rw-r--r--lib/stwcs/gui/pars/write_headerlet.cfg1
-rw-r--r--lib/stwcs/gui/pars/write_headerlet.cfgspc1
14 files changed, 14 insertions, 4 deletions
diff --git a/lib/stwcs/gui/pars/apply_headerlet.cfg b/lib/stwcs/gui/pars/apply_headerlet.cfg
index ae97297..06d6daf 100644
--- a/lib/stwcs/gui/pars/apply_headerlet.cfg
+++ b/lib/stwcs/gui/pars/apply_headerlet.cfg
@@ -7,4 +7,4 @@ archive = True
force = False
wcskey = ""
wcsname = ""
-verbose = False
+logging = False
diff --git a/lib/stwcs/gui/pars/apply_headerlet.cfgspc b/lib/stwcs/gui/pars/apply_headerlet.cfgspc
index 240dcec..648e562 100644
--- a/lib/stwcs/gui/pars/apply_headerlet.cfgspc
+++ b/lib/stwcs/gui/pars/apply_headerlet.cfgspc
@@ -7,6 +7,6 @@ archive = boolean_kw(default=True, active_if="_rule1_", comment="Save PRIMARY WC
force = boolean_kw(default=False, active_if="_rule1_", comment="If distortions do not match, force update anyway?")
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","", default="", inactive_if="_rule1_", comment="Apply headerlet as alternate WCS with this letter")
wcsname = string_kw(default="", inactive_if="_rule1_", comment="Apply headerlet as alternate WCS with this name")
-verbose = boolean_kw(default=False, comment= "Print logging messages?")
+logging = boolean_kw(default=False, comment= "Enable logging to a file")
[ _RULES_ ]
_rule1_ = string_kw(default=True, code='tyfn={"yes":True, "no":False}; OUT = tyfn[VAL]')
diff --git a/lib/stwcs/gui/pars/archive_headerlet.cfg b/lib/stwcs/gui/pars/archive_headerlet.cfg
index 815ce96..97cd7ef 100644
--- a/lib/stwcs/gui/pars/archive_headerlet.cfg
+++ b/lib/stwcs/gui/pars/archive_headerlet.cfg
@@ -11,3 +11,4 @@ d2imfile = ""
author = ""
descrip = ""
history = ""
+logging = False \ No newline at end of file
diff --git a/lib/stwcs/gui/pars/archive_headerlet.cfgspc b/lib/stwcs/gui/pars/archive_headerlet.cfgspc
index d049769..03e67f0 100644
--- a/lib/stwcs/gui/pars/archive_headerlet.cfgspc
+++ b/lib/stwcs/gui/pars/archive_headerlet.cfgspc
@@ -11,3 +11,4 @@ d2imfile = string_kw(default="", comment="Name for source of detector correction
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")
+logging = boolean_kw(default=False, comment= "Enable logging to a file") \ No newline at end of file
diff --git a/lib/stwcs/gui/pars/attach_headerlet.cfg b/lib/stwcs/gui/pars/attach_headerlet.cfg
index 772a66d..d131a70 100644
--- a/lib/stwcs/gui/pars/attach_headerlet.cfg
+++ b/lib/stwcs/gui/pars/attach_headerlet.cfg
@@ -1,3 +1,4 @@
_task_name_ = attach_headerlet
filename = ""
hdrlet = ""
+logging = False
diff --git a/lib/stwcs/gui/pars/attach_headerlet.cfgspc b/lib/stwcs/gui/pars/attach_headerlet.cfgspc
index 03dcf0f..bc91bca 100644
--- a/lib/stwcs/gui/pars/attach_headerlet.cfgspc
+++ b/lib/stwcs/gui/pars/attach_headerlet.cfgspc
@@ -1,3 +1,4 @@
_task_name_ = string_kw(default="attach_headerlet")
filename = string_kw(default="", comment="FITS image file name")
hdrlet = string_kw(default="", comment="Headerlet FITS filename")
+logging = boolean_kw(default=False, comment= "Enable logging to a file") \ No newline at end of file
diff --git a/lib/stwcs/gui/pars/delete_headerlet.cfg b/lib/stwcs/gui/pars/delete_headerlet.cfg
index f43befa..d156937 100644
--- a/lib/stwcs/gui/pars/delete_headerlet.cfg
+++ b/lib/stwcs/gui/pars/delete_headerlet.cfg
@@ -3,3 +3,4 @@ filename = ""
hdrname = ""
hdrext = None
distname = ""
+logging = False \ No newline at end of file
diff --git a/lib/stwcs/gui/pars/delete_headerlet.cfgspc b/lib/stwcs/gui/pars/delete_headerlet.cfgspc
index 5695130..7b7cc0b 100644
--- a/lib/stwcs/gui/pars/delete_headerlet.cfgspc
+++ b/lib/stwcs/gui/pars/delete_headerlet.cfgspc
@@ -3,3 +3,4 @@ filename = string_kw(default="", comment="FITS image file name")
hdrname = string_kw(default="", comment="Delete headerlet with this HDRNAME")
hdrext = integer_or_none_kw(default=None, comment="Delete headerlet from this extension")
distname = string_kw(default="", comment="Delete *ALL* with this DISTNAME")
+logging = boolean_kw(default=False, comment= "Enable logging to a file")
diff --git a/lib/stwcs/gui/pars/extract_headerlet.cfg b/lib/stwcs/gui/pars/extract_headerlet.cfg
index eaf4eff..3dd0a7a 100644
--- a/lib/stwcs/gui/pars/extract_headerlet.cfg
+++ b/lib/stwcs/gui/pars/extract_headerlet.cfg
@@ -4,4 +4,4 @@ output = ""
extnum = None
hdrname = ""
clobber = True
-verbose = False
+logging = False
diff --git a/lib/stwcs/gui/pars/extract_headerlet.cfgspc b/lib/stwcs/gui/pars/extract_headerlet.cfgspc
index 3b173c2..b50d4bf 100644
--- a/lib/stwcs/gui/pars/extract_headerlet.cfgspc
+++ b/lib/stwcs/gui/pars/extract_headerlet.cfgspc
@@ -4,4 +4,4 @@ output = string_kw(default="", comment="Output headerlet FITS filename")
extnum = integer_or_none_kw(default=None, comment="FITS extension number of headerlet")
hdrname = string_kw(default="", comment="Unique name(HDRNAME) for headerlet")
clobber = boolean_kw(default=True, comment= "Overwrite existing headerlet FITS file?")
-verbose = boolean_kw(default=False, comment= "Print logging messages?")
+logging = boolean_kw(default=False, comment= "Enable logging to a file")
diff --git a/lib/stwcs/gui/pars/restore_headerlet.cfg b/lib/stwcs/gui/pars/restore_headerlet.cfg
index a6230a4..b0ec427 100644
--- a/lib/stwcs/gui/pars/restore_headerlet.cfg
+++ b/lib/stwcs/gui/pars/restore_headerlet.cfg
@@ -7,3 +7,4 @@ primary = None
sciext = "SCI"
hdrname = ""
hdrext = None
+logging = False \ No newline at end of file
diff --git a/lib/stwcs/gui/pars/restore_headerlet.cfgspc b/lib/stwcs/gui/pars/restore_headerlet.cfgspc
index 3e713ce..df47e3f 100644
--- a/lib/stwcs/gui/pars/restore_headerlet.cfgspc
+++ b/lib/stwcs/gui/pars/restore_headerlet.cfgspc
@@ -7,5 +7,6 @@ primary = integer_or_none_kw(default=None, inactive_if="_rule1_", comment="Heade
sciext = string_kw(default="SCI", inactive_if="_rule1_", comment="EXTNAME of extension with WCS")
hdrname = string_kw(default="", active_if="_rule1_", comment="HDRNAME of headerlet extension to be restored")
hdrext = integer_or_none_kw(default=None, active_if="_rule1_", comment="Extension number for headerlet to be restored")
+logging = boolean_kw(default=False, comment= "Enable logging to a file")
[ _RULES_ ]
_rule1_ = string_kw(default=True, code='from stwcs import wcsutil;from stwcs.wcsutil import headerlet;OUT = headerlet.is_par_blank(VAL)')
diff --git a/lib/stwcs/gui/pars/write_headerlet.cfg b/lib/stwcs/gui/pars/write_headerlet.cfg
index dccff0e..8c2bc8b 100644
--- a/lib/stwcs/gui/pars/write_headerlet.cfg
+++ b/lib/stwcs/gui/pars/write_headerlet.cfg
@@ -14,3 +14,4 @@ sipname = ""
npolfile = ""
d2imfile = ""
attach = True
+logging = Fasle \ No newline at end of file
diff --git a/lib/stwcs/gui/pars/write_headerlet.cfgspc b/lib/stwcs/gui/pars/write_headerlet.cfgspc
index 323ab4c..b8abb2b 100644
--- a/lib/stwcs/gui/pars/write_headerlet.cfgspc
+++ b/lib/stwcs/gui/pars/write_headerlet.cfgspc
@@ -14,3 +14,4 @@ sipname = string_kw(default="", comment="Name for source of polynomial distortio
npolfile = string_kw(default="", comment="Name for source of non-polynomial residuals")
d2imfile = string_kw(default="", comment="Name for source of detector correction table")
attach = boolean_kw(default=True, comment="Create headerlet FITS extension?")
+logging = boolean_kw(default=False, comment= "Enable logging to a file") \ No newline at end of file