gwsumm.batch module

Pipeline generator for the Gravitational-wave interferometer summary information system (gwsumm)

This module constructs a directed acyclic graph (DAG) that defines a workflow to be submitted via the HTCondor scheduler.

class gwsumm.batch.GWHelpFormatter(*args, **kwargs)[source]

Bases: HelpFormatter

class gwsumm.batch.GWSummaryDAGNode(job)[source]

Bases: CondorDAGNode

get_cmd_line()[source]

Return the full command line that will be used when this node is run by DAGman.

class gwsumm.batch.GWSummaryJob(universe, tag='gw_summary', subdir=None, logdir=None, **cmds)[source]

Bases: CondorDAGJob

Job representing a configurable instance of gw_summary.

add_opt(opt, value='')[source]

Add a command line option to the executable. The order that the arguments will be appended to the command line is not guaranteed, but they will always be added before any command line arguments. The name of the option is prefixed with double hyphen and the program is expected to parse it with getopt_long(). @param opt: command line option to add. @param value: value to pass to the option (None for no argument).

get_command()[source]
logtag = '$(cluster)-$(process)'
set_command(command)[source]
write_sub_file()[source]

Write a submit file for this Condor job.

gwsumm.batch.create_parser()[source]

Create a command-line parser for this entry point

gwsumm.batch.main(args=None)[source]

Run the command-line Omega scan tool in batch mode