Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
WEISS
Software Repositories
SNAPPY
scikit-surgerydavinci
Commits
67f0e68d
Commit
67f0e68d
authored
Oct 08, 2020
by
Thomas Dowrick
Browse files
Fix bug in source selection
parent
1a61d561
Pipeline
#4921
failed with stages
in 9 minutes and 28 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
sksurgerydavinci/ui/sksurgerydavinci_demo.py
View file @
67f0e68d
...
...
@@ -35,10 +35,11 @@ def run_demo(args):
if
num_of_input_sources
==
1
:
if
len
(
video_sources
[
0
]
)
>
1
:
if
isinstance
(
video_sources
[
0
]
,
str
)
:
# it is a filename
source
=
video_sources
[
0
]
print
(
f
"Loading video from
{
source
}
"
)
else
:
source
=
int
(
video_sources
[
0
])
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment