Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
UW-Glance
Manage
Activity
Members
Labels
Plan
Issues
28
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
ca98c38a
Commit
ca98c38a
authored
6 years ago
by
Alan De Smet
Browse files
Options
Downloads
Patches
Plain Diff
Show defaults for arguments where meaningful.
parent
92e39fee
No related branches found
Branches containing commit
No related tags found
1 merge request
!16
Show defaults for arguments where meaningful.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pyglance/glance/config_organizer.py
+5
-5
5 additions, 5 deletions
pyglance/glance/config_organizer.py
with
5 additions
and
5 deletions
pyglance/glance/config_organizer.py
+
5
−
5
View file @
ca98c38a
...
...
@@ -444,9 +444,9 @@ def set_up_command_line_options (parser) :
# data options for setting variable defaults
parser
.
add_argument
(
'
-e
'
,
'
--epsilon
'
,
dest
=
EPSILON_KEY
,
type
=
float
,
default
=
0.0
,
help
=
"
set default epsilon value for comparison threshold
"
)
help
=
"
set default epsilon value for comparison threshold
(default: %(default)s)
"
)
parser
.
add_argument
(
'
-m
'
,
'
--missing
'
,
dest
=
OPTIONS_FILL_VALUE_KEY
,
type
=
float
,
default
=
None
,
help
=
"
set default missing-data value
"
)
help
=
"
set default missing-data value
(default: %(default)s)
"
)
# longitude and latitude related options
parser
.
add_argument
(
'
-o
'
,
'
--longitude
'
,
dest
=
OPTIONS_LON_VAR_NAME_KEY
,
type
=
str
,
...
...
@@ -454,7 +454,7 @@ def set_up_command_line_options (parser) :
parser
.
add_argument
(
'
-a
'
,
'
--latitude
'
,
dest
=
OPTIONS_LAT_VAR_NAME_KEY
,
type
=
str
,
help
=
"
set name of latitude variable
"
)
parser
.
add_argument
(
'
-l
'
,
'
--llepsilon
'
,
dest
=
OPTIONS_LONLAT_EPSILON_KEY
,
type
=
float
,
default
=
0.0
,
help
=
"
set default epsilon for longitude and latitude comparsion
"
)
help
=
"
set default epsilon for longitude and latitude comparsion
(default: %(default)s)
"
)
parser
.
add_argument
(
'
-d
'
,
'
--nolonlat
'
,
dest
=
USE_NO_LON_OR_LAT_VARS_KEY
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
do not try to find or analyze logitude and latitude
"
)
# note: this one has no help message because it's a pure synonym for --nolonlat
...
...
@@ -463,7 +463,7 @@ def set_up_command_line_options (parser) :
# output generation related options
parser
.
add_argument
(
'
-p
'
,
'
--outputpath
'
,
dest
=
OPTIONS_OUTPUT_PATH_KEY
,
type
=
str
,
default
=
'
./
'
,
help
=
"
set path to the output directory
"
)
help
=
"
set path to the output directory
(default: %(default)s)
"
)
parser
.
add_argument
(
'
-i
'
,
'
--imagesonly
'
,
dest
=
OPTIONS_NO_REPORT_KEY
,
action
=
"
store_true
"
,
default
=
False
,
help
=
"
generate only the images (no html report)
"
)
...
...
@@ -471,7 +471,7 @@ def set_up_command_line_options (parser) :
action
=
"
store_true
"
,
default
=
False
,
help
=
"
generate only the html report (no images)
"
)
parser
.
add_argument
(
'
-c
'
,
'
--configfile
'
,
dest
=
OPTIONS_CONFIG_FILE_KEY
,
type
=
str
,
default
=
None
,
help
=
"
set a configuration file to load (
optional
)
"
)
help
=
"
set a configuration file to load (
default: %(default)s
)
"
)
# should pass/fail be tested?
parser
.
add_argument
(
'
-x
'
,
'
--doPassFail
'
,
dest
=
DO_TEST_PASSFAIL_KEY
,
...
...
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