...
Code Block | ||||
---|---|---|---|---|
| ||||
from ecflow import Defs,Suite,Task,Limit,InLimit defs = Defs() defs += Suite("s1", Limit("limitName4", 10), # name, maximum token Family("f1", InLimit("limitName4","/s1/f1",2), # limit name, path to limit, tokens consumed from the Limit [ Task("t{0}".format(t)) for t in range(1,4) ] )) |
...
|
|
|
Warning |
---|
In the second example above we use 'defs.s1.f1' to reference a node by name. This is useful in small designs but will produce maintenance issues in large designs IF the node names are changed. |