Commit c9066c89 authored by Yannick DAYER's avatar Yannick DAYER

[py] Define correctly the default protocol in conf

parent cd592b23
Pipeline #44607 failed with stage
in 90 minutes
......@@ -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}'.")
......@@ -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,
......
......@@ -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"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment