toil.batchSystems.options
¶
Module Contents¶
Classes¶
Protocol for the setOption function we get to let us set up CLI options for |
Functions¶
|
Call set_option for all the options for the given named batch system, or |
|
Attributes¶
- toil.batchSystems.options.logger¶
- class toil.batchSystems.options.OptionSetter[source]¶
Bases:
digraph inheritance8ba17497d0 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Generic" [URL="https://docs.python.org/3/library/typing.html#typing.Generic",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Abstract base class for generic types."]; "OptionSetter" [URL="#toil.batchSystems.options.OptionSetter",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Protocol for the setOption function we get to let us set up CLI options for"]; "Protocol" -> "OptionSetter" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Protocol" -> "OptionSetter" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Protocol" [URL="https://docs.python.org/3/library/typing.html#typing.Protocol",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for protocol classes."]; "Generic" -> "Protocol" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Protocol" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "Generic" -> "Protocol" [arrowsize=0.5,style="setlinewidth(0.5)"]; }Protocol
Protocol for the setOption function we get to let us set up CLI options for each batch system.
Actual functionality is defined in the Config class.
- OptionType¶
- toil.batchSystems.options.set_batchsystem_options(batch_system, set_option)[source]¶
Call set_option for all the options for the given named batch system, or all batch systems if no name is provided.
- Parameters:
batch_system (Optional[str]) –
set_option (OptionSetter) –
- Return type:
None
- toil.batchSystems.options.add_all_batchsystem_options(parser)[source]¶
- Parameters:
parser (Union[argparse.ArgumentParser, argparse._ArgumentGroup]) –
- Return type:
None