mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Now printing a UserWarning in place of a DeprecationWarning for nuclide renaming
This commit is contained in:
parent
531a172607
commit
cdb882648a
1 changed files with 1 additions and 1 deletions
|
|
@ -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('-', '')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue