Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Executable constructor doc #4983

Merged
merged 4 commits into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions pycbc/workflow/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,8 @@ def __init__(self, cp, name, ifos=None, out_dir=None, tags=None,
-----------
cp : ConfigParser object
The ConfigParser object holding the workflow configuration settings
exec_name : string
name : string
Executable name
universe : string, optional
Condor universe to run the job in
ifos : string or list, optional
The ifo(s) that the Job is valid for. If the job is
independently valid for multiple ifos it can be provided as a list.
Expand All @@ -135,6 +133,16 @@ def __init__(self, cp, name, ifos=None, out_dir=None, tags=None,
The folder to store output files of this job.
tags : list of strings
A list of strings that is used to identify this job.
reuse_executable: boolean [default True]
If True, Pegasus simply uses the name of the (executable) script
to label the Executable instance, otherwise it also includes tags
in the labeling and, e.g., performance information is recorded
individually by job rather than being grouped together on the
basis of the script name.
set_submit_subdir: boolean [default True]
titodalcanton marked this conversation as resolved.
Show resolved Hide resolved
Place condor files associated with this executable under a
sub-directory (named according to the executable name) in the
submitdir.
"""
if isinstance(ifos, str):
self.ifo_list = [ifos]
Expand Down
Loading