Skip to content
Snippets Groups Projects
Commit 792c7b8a authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Fix broken click commands cref bob.extension!86

parent efe3f3e9
No related branches found
No related tags found
1 merge request!168Documentation changes in bob bio annotate
Pipeline #
......@@ -25,7 +25,7 @@ logger = logging.getLogger("bob.bio.base")
@click.argument('database', required=True)
@verbosity_option()
@click.pass_context
def baseline(ctx, baseline, database):
def baseline(ctx, baseline, database, **kwargs):
"""Run a biometric recognition baseline.
\b
......@@ -65,7 +65,7 @@ def baseline(ctx, baseline, database):
sub_directory = os.path.join(database, baseline)
else:
sub_directory = baseline
logger.debug('Database groups are %s', database_data["groups"])
# 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):
@click.option('-n', '--n-sys', default=1, type=click.INT, show_default=True)
@click.option('--five-col/--four-col', default=False, show_default=True)
@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.
Generates random scores in 4col or 5col format. The scores are generated
using Gaussian distribution whose mean is an input
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment