ecflow.RepeatString
- class ecflow.RepeatString
Bases:
instance
Allows a node to be repeated using a string list.
A node can only have one repeat. The repeat can be referenced in trigger expressions.
Constructor:
RepeatString(variable,list)
string variable: The name of the repeat. The current index of the string list can be
referenced in trigger expressions using the variable name
vector list: The list of enumerations
Usage:
t = Task('t1',
RepeatString('COLOR', [ 'red', 'green', 'blue' ] ))
- RepeatString.end((RepeatString)arg1) int
- RepeatString.name((RepeatString)arg1) str :
Return the name of the repeat.
- RepeatString.start((RepeatString)arg1) int
- RepeatString.step((RepeatString)arg1) int