Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eva Schiffer
UW-Glance
Commits
3767ed36
Commit
3767ed36
authored
Feb 17, 2022
by
Eva Schiffer
Browse files
change help text for warnmissing to reflect new feature
parent
c8742875
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyglance/glance/config_organizer.py
View file @
3767ed36
...
...
@@ -317,7 +317,7 @@ def resolve_names_one_file(fileObject, defaultValues,
# they asked for a variable name we don't have
else
:
if
warnIfRequestedVarsUnavailable
:
tmpMsg
=
"Unable to
compar
e requested variable ("
+
name
+
\
tmpMsg
=
"Unable to
analyz
e requested variable ("
+
name
+
\
") because the variable was not present in the input file."
missingNames
[
dispName
+
"("
+
name
+
")"
]
=
tmpMsg
LOG
.
warning
(
tmpMsg
)
...
...
@@ -603,7 +603,8 @@ def parse_arguments (version_string, commands_list, commands_help_text, ) :
help
=
"print the Glance version"
)
parser
.
add_argument
(
'--warnmissingvars'
,
dest
=
OPTIONS_WARN_MISSING_KEY
,
action
=
"store_true"
,
default
=
False
,
help
=
"emit warnings if variables you request by name are missing from your input files"
)
help
=
"emit warnings if variables you request by name are missing from your input files; "
"will also cause missing variables to appear in reports and affect pass/fail testing"
)
# data options for setting variable defaults
parser
.
add_argument
(
'-e'
,
'--epsilon'
,
dest
=
EPSILON_KEY
,
type
=
float
,
default
=
0.0
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment