From 0e765791f5c64ad24e5f0214f2ccb27e4b8323b2 Mon Sep 17 00:00:00 2001 From: GarethCabournDavies Date: Wed, 29 Nov 2023 02:12:12 -0800 Subject: [PATCH] use alternative dict for beter clarity --- bin/plotting/pycbc_plot_hist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/plotting/pycbc_plot_hist b/bin/plotting/pycbc_plot_hist index b6602ab8bef..b252c82b430 100644 --- a/bin/plotting/pycbc_plot_hist +++ b/bin/plotting/pycbc_plot_hist @@ -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(