...
Code Block |
---|
suite = ecflow.Suite("x") previous = 0 for i in (0,6,12,18,24) : fam = suite.add_family(str(i)) if i != 0 : fam.add_trigger += Trigger("./" + previous + " == complete ") fam.add_task("t1" += Task('t1') fam.add_task("t2").add_trigger += Task('t2', Trigger("t1 == complete")) previous = str(i) |