From 12c8672804b04391cd63d59ff75b3d45d10fb670 Mon Sep 17 00:00:00 2001 From: Will Boyd Date: Thu, 11 Aug 2016 12:20:02 -0400 Subject: [PATCH] Reworded nuclide de-hyphen deprecation warning message --- openmc/nuclide.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openmc/nuclide.py b/openmc/nuclide.py index 6f7bd79b8..124c86a35 100644 --- a/openmc/nuclide.py +++ b/openmc/nuclide.py @@ -102,8 +102,8 @@ class Nuclide(object): if '-' in name: new_name = name.replace('-', '') - msg = 'OpenMC nuclide names follow the GND standard. Nuclide ' \ - '"{}" is being transformed to "{}".'.format(name, new_name) + msg = 'OpenMC nuclides follow the GND naming convention. Nuclide ' \ + '"{}" is being renamed as "{}".'.format(name, new_name) warnings.warn(msg, DeprecationWarning) self._name = name.replace('-', '')