TransformationInfo

TransformationInfo class to be used by ILCTransformation System

class DIRAC.TransformationSystem.Utilities.TransformationInfo.TransformationInfo(transformationID, transInfoDict, enabled, tClient, fcClient, jobMon)

Bases: object

Hold information about a transformation.

__init__(transformationID, transInfoDict, enabled, tClient, fcClient, jobMon)

Store clients etc.

checkTasksStatus()

Check the status for the task of given transformation and taskID

cleanOutputs(jobInfo)

Remove all job outputs for job represented by jobInfo object.

Including removal of descendents, if defined.

getJobs(statusList=None)

Get done and failed jobs.

Parameters:statusList (list) – optional list of status to find jobs
Returns:3-tuple of OrderedDict of JobInfo objects, keyed by jobID; number of Done jobs; number of Failed jobs
setInputDeleted(job)

set the inputfile to processed

setInputMaxReset(job)

set the inputfile to MaxReset

setInputProcessed(job)

set the inputfile to processed

setInputUnused(job)

Set the inputfiles to unused

setJobDone(job)

set the taskID to Done

setJobFailed(job)

set the taskID to Done