Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagepy
titleCheck defs built with ecflow python API
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())

...