![]() |
DAS
3.0
Das Analysis System
|
General utilities for prefix commands (try, parallel, submit). The explicit options (`cmds`) are unchanged; among the implicit options, the inputs are checked (if any), and the output is adapted to each thread.
Public Member Functions | |
| None | __init__ (self, str prefix, List[str] cmds) |
| None | parse (self, List[str] args) |
| int | get_entries (self, input) |
| None | prepare_io (self, bool multi=True) |
| None | prepare_fire_and_forget (self) |
| None | clean_up_last_run (self) |
| None | __init__ (self, str prefix, List[str] cmds) |
| None | parse (self, List[str] args) |
| int | get_entries (self, input) |
| None | prepare_io (self, bool multi=True) |
| None | prepare_fire_and_forget (self) |
| None | clean_up_last_run (self) |
Public Attributes | |
| name | |
| cmds | |
| helper | |
| splittable | |
| nSplit | |
| extension | |
| inputs | |
| output | |
| args | |
| absinputs | |
| absoutput | |
Static Public Attributes | |
| str | |
| Path | |
Private Member Functions | |
| str | _help_text (self) |
| List[str] | _synopsis (self) |
| None | _prepare_single_output (self) |
| None | _prepare_multi_output (self) |
| None | _prepare_input (self) |
| None | _save_environment (self) |
| str | _help_text (self) |
| List[str] | _synopsis (self) |
| None | _prepare_single_output (self) |
| None | _prepare_multi_output (self) |
| None | _prepare_input (self) |
| None | _save_environment (self) |
Constructor from a separated list of arguments.
Constructor from a separated list of arguments.
|
private |
Returns the command's normal help text.
|
private |
Returns the command's normal help text.
|
private |
Resolve the paths to the input(s).
|
private |
Resolve the paths to the input(s).
|
private |
Prepare the members for parallel running (local or on farm).
|
private |
Prepare the members for parallel running (local or on farm).
|
private |
Prepare the working area for a single-run command.
|
private |
Prepare the working area for a single-run command.
|
private |
Save environment in a file.
|
private |
Save environment in a file.
|
private |
|
private |
| None clean_up_last_run | ( | self | ) |
| None clean_up_last_run | ( | self | ) |
| int get_entries | ( | self, | |
| input | |||
| ) |
Obtain the number of entries from input n-tuple.
| int get_entries | ( | self, | |
| input | |||
| ) |
Obtain the number of entries from input n-tuple.
| None parse | ( | self, | |
| List[str] | args | ||
| ) |
Put input(s), output, and other arguments in dedicated members.
| None parse | ( | self, | |
| List[str] | args | ||
| ) |
Put input(s), output, and other arguments in dedicated members.
| None prepare_fire_and_forget | ( | self | ) |
| None prepare_fire_and_forget | ( | self | ) |
| None prepare_io | ( | self, | |
| bool | multi = True |
||
| ) |
Prepare input and output files and directories.
| None prepare_io | ( | self, | |
| bool | multi = True |
||
| ) |
Prepare input and output files and directories.
| absinputs |
| absoutput |
| args |
| cmds |
| extension |
| helper |
| inputs |
| name |
| nSplit |
| output |
|
static |
| splittable |
|
static |