Commit fcde800c authored by Theophile GENTILHOMME's avatar Theophile GENTILHOMME

CONTEXT_SETTINGS moved to bob.extension

parent 9ff51b21
Pipeline #21471 canceled with stage
in 14 seconds
......@@ -2,7 +2,7 @@
"""
import click
from bob.measure.script import common_options
from bob.extension.scripts.click_helper import verbosity_option
from bob.extension.scripts.click_helper import verbosity_option, CONTEXT_SETTINGS
import bob.bio.base.script.gen as bio_gen
import bob.measure.script.figure as measure_figure
from bob.bio.base.score import load
......@@ -14,7 +14,7 @@ SCORE_FORMAT = (
CRITERIA = ('eer', 'min-hter', 'bpcer20')
@click.command(context_settings=common_options.CONTEXT_SETTINGS)
@click.command(context_settings=CONTEXT_SETTINGS)
@click.argument('outdir')
@click.option('-mm', '--mean-match', default=10, type=click.FLOAT,
show_default=True)
......
......@@ -7,7 +7,8 @@ import click
from click.types import FLOAT
from bob.measure.script import common_options
from bob.extension.scripts.click_helper import (
verbosity_option, bool_option, list_float_option)
verbosity_option, bool_option, list_float_option, CONTEXT_SETTINGS
)
from bob.core import random
from bob.io.base import create_directories_safe
from bob.bio.base.score import load
......@@ -68,7 +69,7 @@ def write_scores_to_file(neg, pos, filename, attack=False):
f.write('x y foo %f\n' % i)
@click.command(context_settings=common_options.CONTEXT_SETTINGS)
@click.command(context_settings=CONTEXT_SETTINGS)
@click.argument('outdir')
@click.option('--mean-gen', default=7, type=FLOAT, show_default=True)
@click.option('--mean-zei', default=3, type=FLOAT, show_default=True)
......
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