changes.mady.by.user Unknown User (ma0)
Saved on Jan 03, 2018
Saved on Jan 11, 2018
...
from ecflow import * defs = Defs( Suite("s1", Task("t1"), Task("t2",Trigger( "t1 == complete" )), Task("t3",Trigger( "t2 == complete" )), Task("t4",Trigger( "t3 == complete" ))))
from ecflow import * defs = Defs() + Suite("s1") defs.s1 += [ Task("t1"),Task("t2"), Task("t3"),Task("t4") ] defs.s1.t2 += Trigger( ["t1"] ) defs.s1.t3 += Trigger( ["t2"] ) defs.s1.t4 += Trigger( ["t3"] )
from ecflow import * defs = Defs() + Suite("s1") defs.s1 >> Task("t1") >> Task("t2") >> Task("t3") >> Task("t4") # >> relies on the leading node to be a Family or Suite