Skip to content
Snippets Groups Projects
Commit 33d85e00 authored by Manuel Günther's avatar Manuel Günther Committed by André Anjos
Browse files

Implemented fix for #33

parent e8315bee
No related branches found
No related tags found
1 merge request!34Fixes #33
Pipeline #
......@@ -30,9 +30,17 @@ def parse_arguments(command_line_parameters, exclude_resources_from = []):
help = argparse.SUPPRESS) #'The group for which the current action should be performed'
# now that we have set up everything, get the command line arguments
return tools.initialize(parsers, command_line_parameters,
args = tools.initialize(parsers, command_line_parameters,
skips = ['preprocessing', 'extractor-training', 'extraction', 'projector-training', 'projection', 'enroller-training', 'enrollment', 'score-computation', 'concatenation', 'calibration'])
# check that none of the above arguments are used without the --sub-task
if args.sub_task is None:
if args.model_type is not None: raise ValueError("The option --model-type is an internal option and cannot be used to define experiments")
if args.score_type is not None: raise ValueError("The option --score-type is an internal option and cannot be used to define experiments")
if args.group is not None: raise ValueError("The option --group is an internal option and cannot be used to define experiments; did you mean to use --groups?")
return args
def add_jobs(args, submitter):
"""Adds all (desired) jobs of the tool chain to the grid, or to the local list to be executed."""
......
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