From 3f71d4415eea7d2385d23c2269ec54120ffb4eea Mon Sep 17 00:00:00 2001 From: Marten Chaillet <58044494+McHaillet@users.noreply.github.com> Date: Wed, 14 Aug 2024 20:23:37 +0200 Subject: [PATCH] logging.warn will be deprecated (#223) --- src/pytom_tm/extract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pytom_tm/extract.py b/src/pytom_tm/extract.py index 2c628f12..21375e74 100644 --- a/src/pytom_tm/extract.py +++ b/src/pytom_tm/extract.py @@ -216,7 +216,7 @@ def extract_particles( # apply tomogram mask if provided tomogram_mask = None if ignore_tomogram_mask: - logging.warn("Ignoring tomogram mask") + logging.warning("Ignoring tomogram mask") elif tomogram_mask_path is not None: tomogram_mask = read_mrc(tomogram_mask_path) elif job.tomogram_mask is not None: