Commit 792c7b8a authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Fix broken click commands cref bob.extension!86

parent efe3f3e9
Pipeline #21749 passed with stage
in 40 minutes and 58 seconds
...@@ -25,7 +25,7 @@ logger = logging.getLogger("bob.bio.base") ...@@ -25,7 +25,7 @@ logger = logging.getLogger("bob.bio.base")
@click.argument('database', required=True) @click.argument('database', required=True)
@verbosity_option() @verbosity_option()
@click.pass_context @click.pass_context
def baseline(ctx, baseline, database): def baseline(ctx, baseline, database, **kwargs):
"""Run a biometric recognition baseline. """Run a biometric recognition baseline.
\b \b
...@@ -65,7 +65,7 @@ def baseline(ctx, baseline, database): ...@@ -65,7 +65,7 @@ def baseline(ctx, baseline, database):
sub_directory = os.path.join(database, baseline) sub_directory = os.path.join(database, baseline)
else: else:
sub_directory = baseline sub_directory = baseline
logger.debug('Database groups are %s', database_data["groups"]) logger.debug('Database groups are %s', database_data["groups"])
# call verify with newly generated config file. We will create a new config # call verify with newly generated config file. We will create a new config
......
...@@ -87,7 +87,7 @@ def write_scores_to_file(neg, pos, filename, n_sys=1, five_col=False): ...@@ -87,7 +87,7 @@ def write_scores_to_file(neg, pos, filename, n_sys=1, five_col=False):
@click.option('-n', '--n-sys', default=1, type=click.INT, show_default=True) @click.option('-n', '--n-sys', default=1, type=click.INT, show_default=True)
@click.option('--five-col/--four-col', default=False, show_default=True) @click.option('--five-col/--four-col', default=False, show_default=True)
@verbosity_option() @verbosity_option()
def gen(outdir, mean_match, mean_non_match, n_sys, five_col): def gen(outdir, mean_match, mean_non_match, n_sys, five_col, **kwargs):
"""Generate random scores. """Generate random scores.
Generates random scores in 4col or 5col format. The scores are generated Generates random scores in 4col or 5col format. The scores are generated
using Gaussian distribution whose mean is an input using Gaussian distribution whose mean is an input
......
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