Loading [MathJax]/extensions/TeX/AMSsymbols.js
LAL 7.7.0.1-6c6b863
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
lal.pipeline.CondorDAGManJob Class Reference

Detailed Description

Condor DAGMan job class.

Appropriate for setting up DAGs to run within a DAG.

Definition at line 580 of file pipeline.py.

Inherits object.

Public Member Functions

def __init__ (self, dag, dir=None)
 dag = the name of the condor dag file to run dir = the diretory in which the dag file is located More...
 
def create_node (self)
 Create a condor node from this job. More...
 
def set_dag_directory (self, dir)
 Set the directory where the dag will be run. More...
 
def get_dag_directory (self)
 Get the directory where the dag will be run. More...
 
def set_notification (self, value)
 Set the email address to send notification to. More...
 
def get_sub_file (self)
 Return the name of the dag as the submit file name for the SUBDAG EXTERNAL command in the uber-dag. More...
 
def write_sub_file (self)
 Do nothing as there is not need for a sub file with the SUBDAG EXTERNAL command in the uber-dag. More...
 
def get_dag (self)
 Return the name of any associated dag file. More...
 

Constructor & Destructor Documentation

◆ __init__()

def lal.pipeline.CondorDAGManJob.__init__ (   self,
  dag,
  dir = None 
)

dag = the name of the condor dag file to run dir = the diretory in which the dag file is located

Definition at line 585 of file pipeline.py.

Member Function Documentation

◆ create_node()

def lal.pipeline.CondorDAGManJob.create_node (   self)

Create a condor node from this job.

This provides a basic interface to the CondorDAGManNode class. Most jobs in a workflow will subclass the CondorDAGManNode class and overwrite this to give more details when initializing the node. However, this will work fine for jobs with very simp input/output.

Definition at line 597 of file pipeline.py.

◆ set_dag_directory()

def lal.pipeline.CondorDAGManJob.set_dag_directory (   self,
  dir 
)

Set the directory where the dag will be run.

Parameters
dirthe name of the directory where the dag will be run

Definition at line 604 of file pipeline.py.

◆ get_dag_directory()

def lal.pipeline.CondorDAGManJob.get_dag_directory (   self)

Get the directory where the dag will be run.

Definition at line 610 of file pipeline.py.

◆ set_notification()

def lal.pipeline.CondorDAGManJob.set_notification (   self,
  value 
)

Set the email address to send notification to.

Parameters
valueemail address or never for no notification.

Definition at line 617 of file pipeline.py.

◆ get_sub_file()

def lal.pipeline.CondorDAGManJob.get_sub_file (   self)

Return the name of the dag as the submit file name for the SUBDAG EXTERNAL command in the uber-dag.

Definition at line 624 of file pipeline.py.

◆ write_sub_file()

def lal.pipeline.CondorDAGManJob.write_sub_file (   self)

Do nothing as there is not need for a sub file with the SUBDAG EXTERNAL command in the uber-dag.

Definition at line 631 of file pipeline.py.

◆ get_dag()

def lal.pipeline.CondorDAGManJob.get_dag (   self)

Return the name of any associated dag file.

Definition at line 637 of file pipeline.py.