converted isotopes from iterator to list for python 3 compatibility

This commit is contained in:
Sam Shaner 2016-10-20 09:46:29 -04:00
parent bc3b597be5
commit 5708ff9d77

View file

@ -475,6 +475,7 @@ class Material(object):
# Get the isotopes and their natural abundances
isotopes, abundances = zip(*element.expand())
abundances = list(abundances)
isotopes = list(isotopes)
n_isotopes = len(isotopes)
# Create a list of atomic masses