Utility

Workflow Utility module contains a number of functions useful for various workflow operations

DIRAC.Core.Workflow.Utility.dataFromOption(parameter)
DIRAC.Core.Workflow.Utility.expandDatafileOption(option)
DIRAC.Core.Workflow.Utility.getSubstitute(param, skip_list=[])

Get the variable name to which the given parameter is referring

DIRAC.Core.Workflow.Utility.resolveVariables(varDict)

Resolve variables defined in terms of others within the same dictionary

DIRAC.Core.Workflow.Utility.substitute(param, variable, value)

Substitute the variable reference with the value