From acf4b3616c3c87e75fc50bcc5c87377e0f6ccbc6 Mon Sep 17 00:00:00 2001 From: liangjg Date: Thu, 21 Mar 2019 11:45:57 -0400 Subject: [PATCH] fix photon reaction __repr__ --- openmc/data/photon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/data/photon.py b/openmc/data/photon.py index 4e266bc9d7..b2edebacd2 100644 --- a/openmc/data/photon.py +++ b/openmc/data/photon.py @@ -904,7 +904,7 @@ class PhotonReaction(EqualityMixin): def __repr__(self): if self.mt in _REACTION_NAME: return "".format( - self.mt, _REACTION_NAME[self.mt]) + self.mt, _REACTION_NAME[self.mt][0]) else: return "".format(self.mt)