...
However, typically Definition files are built using the python API, where most checks are done whilst the definition is being built. (i.e. duplicate node names at the same level)
Code Block | ||||
---|---|---|---|---|
| ||||
import os from ecflow import Defs,Suite,Task,Edit home = os.path.join(os.getenv("HOME"), "course") defs = Defs( Suite('test', Edit(ECF_HOME=home), Task('t1'))) print(defs.check()) |
...