From 54ea4856916bccfc09086299b2bd86bbb67b903a Mon Sep 17 00:00:00 2001 From: Daniel Hundhausen Date: Tue, 30 Jan 2024 11:58:44 +0100 Subject: [PATCH] fix bug in plotter --- menu_tools/rate_plots/plotter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu_tools/rate_plots/plotter.py b/menu_tools/rate_plots/plotter.py index 78dc2e84..05902b50 100644 --- a/menu_tools/rate_plots/plotter.py +++ b/menu_tools/rate_plots/plotter.py @@ -180,7 +180,7 @@ def _load_cached_arrays(self): # Apply scalings if so configured if self.apply_offline_conversion: arr = scalings.add_offline_pt(arr, self.object) - arr["pt"] = scalings.get_pt_branch[arr] + arr["pt"] = scalings.get_pt_branch(arr) return arr @@ -298,5 +298,5 @@ def run(self, apply_offline_conversion: bool = False) -> None: args = parser.parse_args() plotter = RatePlotCentral(args.cfg_plots) - plotter.run() plotter.run(apply_offline_conversion=True) + plotter.run()