ecflow.Late
- class ecflow.Late
Bases:
pybind11_object
Sets the late flag.
When a Node is classified as being late, the only action ecflow_server can take is to set a flag. The GUI will display this alongside the node name as a icon. Only one Late attribute can be specified on a Node.
Constructor:
Late()
Late(kwargs)
Usage:
# This is interpreted as: The node can stay :term:`submitted` for a maximum of 15 minutes
# and it must become :term:`active` by 20:00 and the run time must not exceed 2 hours
late = Late()
late.submitted( 0,15 )
late.active( 20,0 )
late.complete( 2,0, true )
late = Late(submitted='00:15',active='20:00',complete='+02:00')
t = Task('t1',
Late(submitted='00:15',active='20:00'))
- Late.active(*args, **kwargs)
Overloaded function.
active(self: ecflow.Late, arg0: typing.SupportsInt | typing.SupportsIndex, arg1: typing.SupportsInt | typing.SupportsIndex) -> None
active(hour,minute): The time the node must become active. If the node is still queued or submitted by the time specified, the late flag is set
active(self: ecflow.Late, arg0: ecflow.TimeSlot) -> None
active(TimeSlot):The time the node must become active. If the node is still queued or submitted by the time specified, the late flag is set
active(self: ecflow.Late) -> ecflow.TimeSlot
Return the active time as a TimeSlot
- Late.complete(*args, **kwargs)
Overloaded function.
complete(self: ecflow.Late, arg0: typing.SupportsInt | typing.SupportsIndex, arg1: typing.SupportsInt | typing.SupportsIndex, arg2: bool) -> None
complete(hour,minute):The time the node must become complete. If relative, time is taken from the time the node became active, otherwise node must be complete by the time given
complete(self: ecflow.Late, arg0: ecflow.TimeSlot, arg1: bool) -> None
complete(TimeSlot): The time the node must become complete. If relative, time is taken from the time the node became active, otherwise node must be complete by the time given
complete(self: ecflow.Late) -> ecflow.TimeSlot
Return the complete time as a TimeSlot
- Late.complete_is_relative(self: ecflow.Late) bool
Returns a boolean where true means that complete is relative
- Late.is_late(self: ecflow.Late) bool
Return True if late
- Late.submitted(*args, **kwargs)
Overloaded function.
submitted(self: ecflow.Late, arg0: ecflow.TimeSlot) -> None
submitted(TimeSlot):The time node can stay submitted. Submitted is always relative. If the node stays submitted longer than the time specified, the late flag is set
submitted(self: ecflow.Late, arg0: typing.SupportsInt | typing.SupportsIndex, arg1: typing.SupportsInt | typing.SupportsIndex) -> None
submitted(hour,minute) The time node can stay submitted. Submitted is always relative. If the node stays submitted longer than the time specified, the late flag is set
submitted(self: ecflow.Late) -> ecflow.TimeSlot
Return the submitted time as a TimeSlot