Skip to content

Commit

Permalink
fix bug in plotter
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhundhausen committed Jan 30, 2024
1 parent a89f9f9 commit 54ea485
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions menu_tools/rate_plots/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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()

0 comments on commit 54ea485

Please sign in to comment.