Defines a command-line argument (positional).
This provides some extra functionality over defining command line
argument explicitly, in addition to some extra parameters which
sets how condor interprets how to handle them within the DAG
and within submit descriptions.
Parameters
----------
name
The option name. Since this is a positional argument, it is not
used explicitly in the command, but is needed to define
variable names within jobs.
argument
The positional argument value(s) used in a command.
track
Whether to track files defined here and used externally within
jobs to determine parent-child relationships when nodes specify
this option as an input or output. On by default.
remap
Whether to allow remapping of output files being transferred.
If set, output files will be moved to their target directories
after files are transferred back. This is done to avoid issues
where the target directories are available on the submit node
but not on the exectute node. On by default.
suppress
Whether to hide this option. Used externally within jobs to
determine whether to define job arguments. This is typically used
when you want to track file I/O used by a job but isn't directly
specified in their commands. Off by default.
suppress_with_remap
Same as suppress but allowing transfer remaps to still occur.
Used when you want to track file output which is not directly
specified in their command but whose file locations changed
compared to their inputs. Off by default.
Examples
________
>>> Argument("command", "run").vars()
'run'
>>> files = ["input_1.txt", "input_2.txt"]
>>> Argument("input-files", files).vars()
'input_1.txt input_2.txt'
Definition at line 199 of file __init__.py.