...
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("./" + previous + " == complete ") fam.add_task("t1") fam.add_task("t2").add_trigger("t1 == complete") previous = str(i) |