Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fusion_matlab
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor 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
geoffc_sips
fusion_matlab
Commits
fa3eac5d
Commit
fa3eac5d
authored
6 years ago
by
Geoff Cureton
Browse files
Options
Downloads
Patches
Plain Diff
Added verbosity parameter to the print_contexts() function.
parent
74dd8a09
No related branches found
Branches containing commit
Tags
v1.0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example_local_prepare.py
+2
-1
2 additions, 1 deletion
example_local_prepare.py
with
2 additions
and
1 deletion
example_local_prepare.py
+
2
−
1
View file @
fa3eac5d
...
@@ -59,7 +59,8 @@ def local_execute_example(interval, satellite, version, skip_prepare=False, skip
...
@@ -59,7 +59,8 @@ def local_execute_example(interval, satellite, version, skip_prepare=False, skip
else
:
else
:
LOG
.
error
(
"
There are no valid {} contexts for the interval {}.
"
.
format
(
satellite
,
interval
))
LOG
.
error
(
"
There are no valid {} contexts for the interval {}.
"
.
format
(
satellite
,
interval
))
def
print_contexts
(
interval
,
satellite
,
version
):
def
print_contexts
(
interval
,
satellite
,
version
,
verbosity
=
2
):
setup_logging
(
verbosity
)
contexts
=
comp
.
find_contexts
(
interval
,
satellite
,
version
)
contexts
=
comp
.
find_contexts
(
interval
,
satellite
,
version
)
for
context
in
contexts
:
for
context
in
contexts
:
print
context
print
context
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