From 34bd4052452d034e3bcd096054ae9aafc0eae8df Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Mon, 25 Apr 2016 12:58:33 -0500 Subject: [PATCH] Fix Python 3.5-related issue in mgxs module --- openmc/mgxs/mgxs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/mgxs/mgxs.py b/openmc/mgxs/mgxs.py index 0c3612e9f..33255de30 100644 --- a/openmc/mgxs/mgxs.py +++ b/openmc/mgxs/mgxs.py @@ -412,7 +412,7 @@ class MGXS(object): # Otherwise, return all nuclides in the spatial domain else: nuclides = self.domain.get_all_nuclides() - return nuclides.keys() + return list(nuclides.keys()) def get_nuclide_density(self, nuclide): """Get the atomic number density in units of atoms/b-cm for a nuclide