From 630fd1c931e0f1adb115015954adc8cab81b1fc6 Mon Sep 17 00:00:00 2001 From: Andre Mayoraz <andre.mayoraz@idiap.ch> Date: Tue, 14 Feb 2023 09:49:02 +0100 Subject: [PATCH] Added missing arument for verbosity_option --- src/bob/fusion/base/script/boundary.py | 2 +- src/bob/fusion/base/script/fuse.py | 2 +- src/bob/fusion/base/script/resource.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bob/fusion/base/script/boundary.py b/src/bob/fusion/base/script/boundary.py index 40a5141..728ff9c 100644 --- a/src/bob/fusion/base/script/boundary.py +++ b/src/bob/fusion/base/script/boundary.py @@ -186,7 +186,7 @@ $ bob fusion boundary -vvv {sys1,sys2}/scores-eval -m /path/to/Model.pkl help="If True, it will skip checking for the consistency " "between scores.", ) -@verbosity_option() +@verbosity_option(logger) def boundary( scores, model_file, diff --git a/src/bob/fusion/base/script/fuse.py b/src/bob/fusion/base/script/fuse.py index 73c07b1..c97fe1c 100644 --- a/src/bob/fusion/base/script/fuse.py +++ b/src/bob/fusion/base/script/fuse.py @@ -231,7 +231,7 @@ $ bob fusion fuse -vvv sys_bio/scores-{world,dev,eval} sys_pad/scores-{train,dev show_default=True, help="Whether to overwrite existing files.", ) -@verbosity_option() +@verbosity_option(logger) def fuse( scores, algorithm, diff --git a/src/bob/fusion/base/script/resource.py b/src/bob/fusion/base/script/resource.py index 4413698..bef0aac 100644 --- a/src/bob/fusion/base/script/resource.py +++ b/src/bob/fusion/base/script/resource.py @@ -26,7 +26,7 @@ $ bob fusion resource -v multiple=True, help="List only the resources from these packages.", ) -@verbosity_option() +@verbosity_option(logger) @click.pass_context def resource(ctx, packages, **kwargs): """Lists fusion algorithm resources.""" -- GitLab