From b97149ddf817d2f4bcb41db5dbc8f77dd1dd4113 Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Sat, 20 Jan 2024 19:06:45 +0000 Subject: [PATCH] removed error raising when calling warn (#2853) --- openmc/deplete/openmc_operator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/deplete/openmc_operator.py b/openmc/deplete/openmc_operator.py index 74dbf8feece..ad7a3924b7e 100644 --- a/openmc/deplete/openmc_operator.py +++ b/openmc/deplete/openmc_operator.py @@ -213,7 +213,7 @@ def _get_burnable_mats(self) -> Tuple[List[str], Dict[str, float], List[str]]: msg = (f"Nuclilde {nuclide} in material {mat.id} is not " "present in the depletion chain and has no cross " "section data.") - raise warn(msg) + warn(msg) if mat.depletable: burnable_mats.add(str(mat.id)) if mat.volume is None: