Utils

Collection of utilities function

DIRAC.Workflow.Utilities.Utils.addStepToWorkflow(workflow, stepDefinition, name)

Add a stepDefinition to a workflow, instantiating it, and giving it a name

DIRAC.Workflow.Utilities.Utils.getStepCPUTimes(step_commons)

CPU times of a step

DIRAC.Workflow.Utilities.Utils.getStepDefinition(stepName, modulesNameList=[], importLine='', parametersList=[])

Given a name, a list of modules name, and a list of parameters, returns a step definition. Remember that Step definition = Parameters + Module Instances