Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.base
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
bob
bob.bio.base
Merge requests
!137
Add support for listing annotator configs
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add support for listing annotator configs
annotator
into
master
Overview
2
Commits
5
Pipelines
2
Changes
12
Merged
Amir MOHAMMADI
requested to merge
annotator
into
master
7 years ago
Overview
2
Commits
5
Pipelines
2
Changes
12
Expand
This merge request adds several features:
Add support for listing annotator configs
Account for unicode in Python 2
Replace database directories in bob bio annotate command
Fixed a bug in FailSafe annotator where the annotations could be None
0
0
Merge request reports
Compare
master
version 1
53962a8b
7 years ago
master (base)
and
latest version
latest version
874aa4d1
5 commits,
7 years ago
version 1
53962a8b
4 commits,
7 years ago
12 files
+
39
−
16
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
12
Search (e.g. *.vue) (Ctrl+P)
bob/bio/base/annotator/FailSafe.py
+
1
−
1
Options
@@ -38,7 +38,7 @@ class FailSafe(Annotator):
@@ -38,7 +38,7 @@ class FailSafe(Annotator):
if
not
annotations
:
if
not
annotations
:
logger
.
debug
(
logger
.
debug
(
"
Annotator `%s
'
returned empty annotations.
"
,
annotator
)
"
Annotator `%s
'
returned empty annotations.
"
,
annotator
)
kwargs
[
'
annotations
'
].
update
(
annotations
)
kwargs
[
'
annotations
'
].
update
(
annotations
or
{}
)
# check if we have all the required annotations
# check if we have all the required annotations
if
all
(
key
in
kwargs
[
'
annotations
'
]
for
key
in
self
.
required_keys
):
if
all
(
key
in
kwargs
[
'
annotations
'
]
for
key
in
self
.
required_keys
):
break
break
Loading