From cdb882648aff932644870f6bd96c45c3c0c032c7 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Thu, 11 Aug 2016 22:27:53 -0400 Subject: [PATCH] Now printing a UserWarning in place of a DeprecationWarning for nuclide renaming --- openmc/nuclide.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/nuclide.py b/openmc/nuclide.py index 00ae25ac60..2c6998cd5d 100644 --- a/openmc/nuclide.py +++ b/openmc/nuclide.py @@ -108,7 +108,7 @@ class Nuclide(object): msg = 'OpenMC nuclides follow the GND naming convention. Nuclide ' \ '"{}" is being renamed as "{}".'.format(name, new_name) - warnings.warn(msg, DeprecationWarning) + warnings.warn(msg) self._name = name.replace('-', '')