Now printing a UserWarning in place of a DeprecationWarning for nuclide renaming

This commit is contained in:
Will Boyd 2016-08-11 22:27:53 -04:00
parent 531a172607
commit cdb882648a

View file

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