From 69cef5c9684693dac4408ca8446d6c0b6d74bc56 Mon Sep 17 00:00:00 2001 From: Abelardo Moralejo Date: Wed, 15 Jan 2025 11:36:57 +0100 Subject: [PATCH] Fix log message --- lstchain/image/cleaning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lstchain/image/cleaning.py b/lstchain/image/cleaning.py index 9acf34b77..005f23c47 100644 --- a/lstchain/image/cleaning.py +++ b/lstchain/image/cleaning.py @@ -195,7 +195,7 @@ def find_tailcuts(input_dir, run_number): qped = np.nan qped_dev = np.nan additional_nsb_rate = np.nan - log.error('No valid computation was possible for run {run_number} with any of the processed subruns!') + log.error(f'No valid computation was possible for run {run_number} with any of the processed subruns!') return qped, additional_nsb_rate, None qped = np.nanmedian(median_ped_qt95_pix_charge[good_stats])