bilby_pipe.job_creation.node
Classes
Base Node object, handles creation of arguments, executables, etc |
Functions
|
Returns the filepaths for condor log, output, and error options |
Module Contents
- class bilby_pipe.job_creation.node.Node(inputs, retry=None)[source]
Bases:
object
Base Node object, handles creation of arguments, executables, etc
- setup_arguments(parallel_program=None, add_command_line_args=True, add_ini=True, add_unknown_args=True)[source]
- static _relative_topdir(path, reference)[source]
Returns the top-level directory name of a path relative to a reference
- bilby_pipe.job_creation.node._log_output_error_submit_lines(logdir, prefix)[source]
Returns the filepaths for condor log, output, and error options
- Parameters:
- logdirstr
the target directory for the files
- prefixstr
the prefix for the files
- Returns:
- log, output, errorlist of str
the list of three file paths to be passed to pycondor.Job
Examples
>>> Dag._log_output_error_submit_lines("test", "job") ['log = test/job.log', 'output = test/job.out', 'error = test/job.err']