Skip to content

Commit

Permalink
Avoid single use of variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pannarale committed Nov 25, 2024
1 parent 36acb2f commit 2b66d5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/pygrb/pycbc_pygrb_plot_snr_timeseries
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,13 @@ slide_dict = ppu.load_time_slides(trig_file)
segment_dict = ppu.load_segment_dict(trig_file)

# Construct trials removing vetoed times
hide_onsource = not opts.onsource
trial_dict, total_trials = ppu.construct_trials(
opts.seg_files,
segment_dict,
ifos,
slide_dict,
opts.veto_file,
hide_onsource=hide_onsource
hide_onsource=(not opts.onsource)
)

# Load trigger and injections data: when plotting reweighted SNR, keep all
Expand Down

0 comments on commit 2b66d5d

Please sign in to comment.