iblrig.misc.get_task_arguments

iblrig.misc.get_task_arguments(parents=None)[source]

Parse input to run the tasks. All the variables are fed to the Session instance task.py -s subject_name -p projects_name -c procedures_name –no-interactive :param extra_args: list of dictionaries of additional argparse arguments to add to the parser

For example, to add a new toto and titi arguments, use: get_task_arguments({’–toto’, type=str, default=’toto’}, {’–titi’, action=’store_true’, default=False})

Returns:

Parameters:

parents (Sequence[ArgumentParser] | None)