Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
UW-Glance
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eva Schiffer
UW-Glance
Commits
6a34a474
Commit
6a34a474
authored
7 years ago
by
Eva Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
cleaning up a bunch of the command line documentation
parent
b7cad488
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyglance/glance/compare.py
+147
-106
147 additions, 106 deletions
pyglance/glance/compare.py
pyglance/glance/config_organizer.py
+11
-11
11 additions, 11 deletions
pyglance/glance/config_organizer.py
with
158 additions
and
117 deletions
pyglance/glance/compare.py
+
147
−
106
View file @
6a34a474
This diff is collapsed.
Click to expand it.
pyglance/glance/config_organizer.py
+
11
−
11
View file @
6a34a474
...
...
@@ -433,19 +433,19 @@ def set_up_command_line_options (parser) :
# message related options
parser
.
add_option
(
'
-q
'
,
'
--quiet
'
,
dest
=
"
quiet
"
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
only error output
"
)
action
=
"
store_true
"
,
default
=
False
,
help
=
"
only
log
error output
"
)
parser
.
add_option
(
'
-v
'
,
'
--verbose
'
,
dest
=
"
verbose
"
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
enable
more
informational output
"
)
action
=
"
store_true
"
,
default
=
False
,
help
=
"
enable
logging of more detailed
informational output
"
)
parser
.
add_option
(
'
-w
'
,
'
--debug
'
,
dest
=
"
debug
"
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
enable debug output
"
)
action
=
"
store_true
"
,
default
=
False
,
help
=
"
enable
logging of
debug output
(warning: this will generate far more messages)
"
)
parser
.
add_option
(
'
-n
'
,
'
--version
'
,
dest
=
'
version
'
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
view
the
g
lance version
"
)
action
=
"
store_true
"
,
default
=
False
,
help
=
"
print
the
G
lance version
"
)
# data options for setting variable defaults
parser
.
add_option
(
'
-e
'
,
'
--epsilon
'
,
dest
=
EPSILON_KEY
,
type
=
'
float
'
,
default
=
0.0
,
help
=
"
set default epsilon value for comparison threshold
"
)
parser
.
add_option
(
'
-m
'
,
'
--missing
'
,
dest
=
OPTIONS_FILL_VALUE_KEY
,
type
=
'
float
'
,
default
=
None
,
help
=
"
set default missing-value
"
)
help
=
"
set default missing-
data
value
"
)
# longitude and latitude related options
parser
.
add_option
(
'
-o
'
,
'
--longitude
'
,
dest
=
OPTIONS_LON_VAR_NAME_KEY
,
type
=
'
string
'
,
...
...
@@ -459,26 +459,26 @@ def set_up_command_line_options (parser) :
# output generation related options
parser
.
add_option
(
'
-p
'
,
'
--outputpath
'
,
dest
=
OPTIONS_OUTPUT_PATH_KEY
,
type
=
'
string
'
,
default
=
'
./
'
,
help
=
"
set path to output directory
"
)
help
=
"
set path to
the
output directory
"
)
parser
.
add_option
(
'
-i
'
,
'
--imagesonly
'
,
dest
=
OPTIONS_NO_REPORT_KEY
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
generate only imag
e fil
es (no html report)
"
)
help
=
"
generate only
the
images (no html report)
"
)
parser
.
add_option
(
'
-r
'
,
'
--reportonly
'
,
dest
=
OPTIONS_NO_IMAGES_KEY
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
generate only html report
files
(no images)
"
)
help
=
"
generate only
the
html report (no images)
"
)
parser
.
add_option
(
'
-c
'
,
'
--configfile
'
,
dest
=
OPTIONS_CONFIG_FILE_KEY
,
type
=
'
string
'
,
default
=
None
,
help
=
"
set
optional
configuration file
"
)
help
=
"
set
a
configuration file
to load (optional)
"
)
# should pass/fail be tested?
parser
.
add_option
(
'
-x
'
,
'
--doPassFail
'
,
dest
=
DO_TEST_PASSFAIL_KEY
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
should the comparison test for pass/fail (currently only affects stats
)
"
)
action
=
"
store_true
"
,
default
=
False
,
help
=
"
test for pass/fail while comparing data (only affects analysis where data is compared
)
"
)
# whether or not to do multiprocessing
parser
.
add_option
(
'
-f
'
,
'
--fork
'
,
dest
=
DO_MAKE_FORKS_KEY
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
start multiple processes to create images in parallel
"
)
parser
.
add_option
(
'
--parsable
'
,
dest
=
PARSABLE_OUTPUT_KEY
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
format output to be programmatically parsed.
'
info
'
only
"
)
action
=
"
store_true
"
,
default
=
False
,
help
=
"
format output to be programmatically parsed.
(only affects
'
info
'
)
"
)
def
convert_options_to_dict
(
options
)
:
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment