Versions Compared

Key

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

...

Both of the above steps can be done using ecFlow python API. This should be done on the server-side, where the scripts are accessible. For more details see: Checking Job Creation

Code Block
languagepy
titleCheck job creation
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("Checking job creation: .ecf -> .job0") 
print(defs.check_job_creation())

...