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