Skip to content

Commit

Permalink
use alternative dict for beter clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Nov 29, 2023
1 parent 9f7b522 commit 0e76579
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/plotting/pycbc_plot_hist
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ ifo = tuple(f.keys())[0]

# Apply presort if we can; if we can't, load everything but it may be
# inefficient
xv = args.x_var if args.x_var in ranking.required_datasets else None
xt = args.x_min if args.x_var in ranking.required_datasets else None
xv = args.x_var if args.x_var in ranking.sngls_ranking_function_dict else None
xt = args.x_min if args.x_var in ranking.sngls_ranking_function_dict else None

# read single-detector triggers
trigs = pycbc.io.SingleDetTriggers(
Expand Down

0 comments on commit 0e76579

Please sign in to comment.