Skip to content
Snippets Groups Projects
Commit 59af43ef authored by Yannick DAYER's avatar Yannick DAYER
Browse files

[py] Fix annotate commands receiving too many args

parent 695b7ece
Branches
Tags
1 merge request!313Fix database classes to follow bob.pipelines changes
Pipeline #69714 passed
...@@ -94,7 +94,7 @@ Examples: ...@@ -94,7 +94,7 @@ Examples:
) )
@annotate_common_options @annotate_common_options
@verbosity_option(logger=logger, expose_value=False) @verbosity_option(logger=logger, expose_value=False)
def annotate(database, groups, annotator, output_dir, dask_client): def annotate(database, groups, annotator, output_dir, dask_client, **kwargs):
"""Annotates a database. """Annotates a database.
The annotations are written in text file (json) format which can be read The annotations are written in text file (json) format which can be read
...@@ -181,7 +181,7 @@ You have to define ``samples``, ``reader``, and ``make_key`` in python files ...@@ -181,7 +181,7 @@ You have to define ``samples``, ``reader``, and ``make_key`` in python files
@annotate_common_options @annotate_common_options
@verbosity_option(logger=logger, expose_value=False) @verbosity_option(logger=logger, expose_value=False)
def annotate_samples( def annotate_samples(
samples, reader, make_key, annotator, output_dir, dask_client samples, reader, make_key, annotator, output_dir, dask_client, **kwargs
): ):
"""Annotates a list of samples. """Annotates a list of samples.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment