mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Reworded nuclide de-hyphen deprecation warning message
This commit is contained in:
parent
933362748c
commit
12c8672804
1 changed files with 2 additions and 2 deletions
|
|
@ -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('-', '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue