Skip to content

Commit

Permalink
Edited var name to something more meaningful
Browse files Browse the repository at this point in the history
  • Loading branch information
pannarale committed Nov 14, 2024
1 parent 515fcf4 commit 52ae576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycbc/results/pygrb_postprocessing_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ def load_segment_dict(hdf_file_path):
# Construct the trials from the timeslides, segments, and vetoes
# =============================================================================
def construct_trials(seg_files, seg_dict, ifos, slide_dict, veto_file,
show_onsource=False):
hide_onsource=True):
"""Constructs trials from triggers, timeslides, segments and vetoes"""

logging.info("Constructing trials.")
Expand All @@ -603,7 +603,7 @@ def construct_trials(seg_files, seg_dict, ifos, slide_dict, veto_file,

# Fill in the buffer segment list if the onsource data must be hidden
seg_buffer = segments.segmentlist()
if show_onsource:
if hide_onsource:
for ifo in ifos:
slide_offset = slide_dict[slide_id][ifo]
seg_buffer.append(segments.segment(segs['buffer'][0] -
Expand Down

0 comments on commit 52ae576

Please sign in to comment.