Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.face
Commits
98898409
Commit
98898409
authored
Mar 13, 2018
by
Amir MOHAMMADI
Browse files
Small change so that this script work with bob.pad.base databases too
parent
981c5a06
Pipeline
#17624
passed with stage
in 24 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/script/display_face_annotations.py
View file @
98898409
...
...
@@ -61,7 +61,11 @@ def main(command_line_parameters=None):
database
.
replace_directories
(
args
.
database_directories_file
)
# get all files
files
=
database
.
all_files
()
if
bob
.
bio
.
base
.
utils
.
is_argument_available
(
'flat'
,
database
.
all_files
):
files
=
database
.
all_files
(
flat
=
True
)
else
:
files
=
database
.
all_files
()
# filter file ids; convert them to str first
if
args
.
file_ids
is
not
None
:
files
=
[
f
for
f
in
files
if
str
(
f
.
id
)
in
args
.
file_ids
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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