Package pylal :: Module pylal_exttrig_llutils :: Class AnalysisDag
[hide private]
[frames] | no frames]

Class AnalysisDag

source code

object --+
         |
        AnalysisDag

Class to hold and handle an analysis DAG and all related information.

Instance Methods [hide private]
 
__init__(self, name, type, analysis_dir)
Initializing this class with all the needed information
source code
 
set_dagname(self, name)
Sets the current name of the DAG
source code
 
get_outname(self)
Returns the outname of this DAG
source code
 
get_dagname(self)
Returns the name of the DAG file
source code
 
get_shname(self)
Returns the name of the sh file
source code
 
start(self)
Start this DAG
source code
 
get_status(self) source code
 
set_status(self, new_status) source code
 
get_stage_name(self)
Returns the name of the stage or error of the current DAG.
source code
 
check_status(self, grb)
Updating the status for this DAG, and return the fstat value
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, type, analysis_dir)
(Constructor)

source code 

Initializing this class with all the needed information

Parameters:
  • name - name of the GRB
  • type - what dag is this? onoff/inj #@param stage: stage of the dag, like uberdag or ligolwdag #@param inifile: inifile for this DAG #@param injfile: injection file for this DAG
  • analysis_dir - path to the analysis directory
Overrides: object.__init__

set_dagname(self, name)

source code 

Sets the current name of the DAG

Parameters:
  • name - name of the .dag file