ecflow.Late
- class ecflow.Late
Bases:
instance
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((Late)arg1, (int)arg2, (int)arg3) 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( (Late)arg1, (TimeSlot)arg2) -> 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( (Late)arg1) -> TimeSlot :
Return the active time as a TimeSlot
- Late.complete((Late)arg1, (int)arg2, (int)arg3, (bool)arg4) 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( (Late)arg1, (TimeSlot)arg2, (bool)arg3) -> 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( (Late)arg1) -> TimeSlot :
Return the complete time as a TimeSlot
- Late.complete_is_relative((Late)arg1) bool :
Returns a boolean where true means that complete is relative
- Late.is_late((Late)arg1) bool :
Return True if late
- Late.submitted((Late)arg1, (TimeSlot)arg2) 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( (Late)arg1, (int)arg2, (int)arg3) -> 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( (Late)arg1) -> TimeSlot :
Return the submitted time as a TimeSlot