Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
35ab970a
Commit
35ab970a
authored
4 years ago
by
Björn Vonheiden
Browse files
Options
Downloads
Patches
Plain Diff
Check manualy for the cli arguments if mandatory have been set
parent
909f4e96
No related branches found
No related tags found
1 merge request
!44
Enhanced CLI arguments for theodolite
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
execution/run_uc.py
+4
-0
4 additions, 0 deletions
execution/run_uc.py
execution/theodolite.py
+4
-0
4 additions, 0 deletions
execution/theodolite.py
with
8 additions
and
0 deletions
execution/run_uc.py
+
4
−
0
View file @
35ab970a
...
...
@@ -22,6 +22,10 @@ def load_variables():
parser
=
execution_parser
(
description
=
'
Run use case Programm
'
)
args
=
parser
.
parse_args
()
print
(
args
)
if
args
.
exp_id
is
None
or
args
.
uc
is
None
or
args
.
load
is
None
or
args
.
instances
is
None
:
print
(
'
The options --exp-id, --uc, --load and --instances are mandatory.
'
)
print
(
'
Some might not be set!
'
)
sys
.
exit
(
1
)
return
args
...
...
This diff is collapsed.
Click to expand it.
execution/theodolite.py
+
4
−
0
View file @
35ab970a
...
...
@@ -22,6 +22,10 @@ def load_variables():
parser
=
benchmark_parser
(
"
Run theodolite benchmarking
"
)
args
=
parser
.
parse_args
()
print
(
args
)
if
args
.
uc
is
None
or
args
.
loads
is
None
or
args
.
instances_list
is
None
:
print
(
'
The options --uc, --loads and --instances are mandatory.
'
)
print
(
'
Some might not be set!
'
)
sys
.
exit
(
1
)
return
args
...
...
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