mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
fix photon reaction __repr__
This commit is contained in:
parent
21888e6cb5
commit
acf4b3616c
1 changed files with 1 additions and 1 deletions
|
|
@ -904,7 +904,7 @@ class PhotonReaction(EqualityMixin):
|
|||
def __repr__(self):
|
||||
if self.mt in _REACTION_NAME:
|
||||
return "<Photon Reaction: MT={} {}>".format(
|
||||
self.mt, _REACTION_NAME[self.mt])
|
||||
self.mt, _REACTION_NAME[self.mt][0])
|
||||
else:
|
||||
return "<Photon Reaction: MT={}>".format(self.mt)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue