Reworded nuclide de-hyphen deprecation warning message

This commit is contained in:
Will Boyd 2016-08-11 12:20:02 -04:00
parent 933362748c
commit 12c8672804

View file

@ -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('-', '')