Versions Compared

Key

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

Step-by-step guide

If the suite definition is in a text file::

Code Block
languagebash
titleCheck definition from the command line
ecflow_client --load=test.def check_only


Code Block
languagepy
titleCheck txt definition using ecflow python API
import ecflow     
defs = ecflow.Defs("test.def")
theCheckValue = defs.check();
assert len(theCheckValue) != 0,  "Error in expression,limits,etc," 

...

+ theCheckValue


If the suite definition is built using python API.

info
Code Block
languagepy
titleCheck definition built using ecflow Python API
import ecflow     
defs = ecflow.Defs()
suite = defs.add_suite("s1");
suite.add_task("t1").add_trigger("t2 == active)")  # missing bracket

theCheckValue = defs.check();
print("Message: ",theCheckValue)
assert len(theCheckValue) != 0,  "Expected Error: mis-matched brackets in expression."


Content by Label
showLabelsfalse
max5
spaces~usa
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-articleecflow-faqs" and label = "definitions" and type = "page" and space = "~usaUDOC"
labelskb-how-to-article

...

hiddentrue

...