bilby_pipe.job_creation.nodes.generation_node

Classes

GenerationNode

Base Node object, handles creation of arguments, executables, etc

Functions

_is_htcondor_scitoken_local_issuer()

Test whether the machine being used is configured to use a local issuer

Module Contents

class bilby_pipe.job_creation.nodes.generation_node.GenerationNode(inputs, trigger_time, idx, dag, parent=None)[source]

Bases: bilby_pipe.job_creation.node.Node

Base Node object, handles creation of arguments, executables, etc

inputs[source]
trigger_time[source]
idx[source]
dag[source]
request_cpus = 1[source]
property resolve_frame_files[source]

Resolve frame files from frame_type_dict and data_dict. For each detector, if the frame filepath(s) is given return the filepath(s), otherwise use gwdatafind to resolve the frame files using the provided frame type.

static extract_paths_from_dict(input)[source]
property executable[source]
property request_memory[source]
property log_directory[source]
property universe[source]
property job_name[source]
property label[source]
property data_dump_file[source]
_file_needs_authentication(fname)[source]

Check if a file needs authentication to be accessed, currently the only repositories that need authentication are ligo.osgstorage.org and *.storage.igwn.org.

Parameters:
fname: str

The file name to check

property scitoken_lines[source]

Additional lines needed for the submit file to enable access to proprietary files/services. Note that we do not support scoped tokens. This is determined by the method used to issue the scitokens. For more details see here.

property authenticated_file_prefix[source]

Return the prefix to add to files that need authentication. This is determined by the method used to issue the scitokens. For more details see here <https://computing.docs.ligo.org/guide/htcondor/credentials>.

property scitoken_issuer[source]

Return the issuer to use for scitokens. This is determined by the --scitoken-issuer argument or the version HTCondor running on the current machine. For more details see here.

bilby_pipe.job_creation.nodes.generation_node._is_htcondor_scitoken_local_issuer()[source]

Test whether the machine being used is configured to use a local issuer or not. See here for where this logic comes from.