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("")
@click.argument('database', required=True)
def baseline(ctx, baseline, database):
def baseline(ctx, baseline, database, **kwargs):
"""Run a biometric recognition baseline.
......@@ -65,7 +65,7 @@ def baseline(ctx, baseline, database):
sub_directory = os.path.join(database, baseline)
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)
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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment