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.vein
Commits
c9066c89
Commit
c9066c89
authored
Oct 28, 2020
by
Yannick DAYER
Browse files
[py] Define correctly the default protocol in conf
parent
cd592b23
Pipeline
#44607
failed with stage
in 90 minutes
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/vein/config/database/putvein.py
View file @
c9066c89
...
...
@@ -28,8 +28,8 @@ _putvein_directory = rc["bob.db.putvein.directory"]
# Set default protocol if not given via a config file
if
'protocol'
not
in
locals
():
logger
.
info
(
"protocol not specified, using default: '
central
'"
)
protocol
=
'
central
'
logger
.
info
(
"protocol not specified, using default: '
wrist-LR_1
'"
)
protocol
=
'
wrist-LR_1
'
legacy_database
=
PutveinBioDatabase
(
original_directory
=
_putvein_directory
,
...
...
@@ -62,12 +62,4 @@ installed the `put vein`_ dataset, as explained in the section
:ref:`bob.bio.vein.baselines`.
"""
protocol
=
'wrist-LR_1'
# TODO protocol implementation in bob pipelines?
"""The default protocol to use for tests
You may modify this at runtime by specifying the option ``--protocol`` on the
command-line of ``verify.py`` or using the keyword ``protocol`` on a
configuration file that is loaded **after** this configuration resource.
"""
logger
.
debug
(
f
"loaded database putvein config file, using protocol '
{
protocol
}
'."
)
bob/bio/vein/config/database/utfvp.py
View file @
c9066c89
...
...
@@ -29,8 +29,8 @@ _utfvp_directory = rc["bob.db.utfvp.directory"]
# Set default protocol if not given via a config file
if
'protocol'
not
in
locals
():
logger
.
info
(
"protocol not specified, using default: '
central
'"
)
protocol
=
'
central
'
logger
.
info
(
"protocol not specified, using default: '
nom
'"
)
protocol
=
'
nom
'
legacy_database
=
Database
(
original_directory
=
_utfvp_directory
,
...
...
bob/bio/vein/config/database/verafinger.py
View file @
c9066c89
...
...
@@ -24,8 +24,8 @@ _verafinger_directory = rc["bob.db.verafinger.directory"]
# Set default protocol if not given via a config file
if
'protocol'
not
in
locals
():
logger
.
info
(
"protocol not specified, using default: '
central
'"
)
protocol
=
'
central
'
logger
.
info
(
"protocol not specified, using default: '
Nom
'"
)
protocol
=
'
Nom
'
"""Updated with the wrapper for the pipelines package"""
...
...
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