From ed795b145d8375f63be146c074efc59ce38fccd9 Mon Sep 17 00:00:00 2001 From: Abelardo Moralejo Date: Thu, 5 Sep 2024 09:37:25 +0200 Subject: [PATCH] warn => warning --- lstchain/scripts/lstchain_r0_to_r0g.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lstchain/scripts/lstchain_r0_to_r0g.py b/lstchain/scripts/lstchain_r0_to_r0g.py index 09a90df4d..c4dc721fa 100644 --- a/lstchain/scripts/lstchain_r0_to_r0g.py +++ b/lstchain/scripts/lstchain_r0_to_r0g.py @@ -188,8 +188,8 @@ def main(): log.info('FF-like events tagged as FF: %d', num_FF_like_with_FF_type) else: - log.warn('FF-like events tagged as FF: %d !!', - num_FF_like_with_FF_type) + log.warning('FF-like events tagged as FF: %d !!', + num_FF_like_with_FF_type) log.info('FF-like events not tagged as FF: %d', num_FF_like_with_no_FF_type)