removed shortening of nuclide pct in element.expand()

This commit is contained in:
Sam Shaner 2016-10-25 17:21:48 -04:00
parent 6b1ff61284
commit af29379f12
3 changed files with 4 additions and 3 deletions

View file

@ -276,7 +276,8 @@ class Element(object):
# Create a list of the isotopes in this element
isotopes = []
for nuclide, abundance in zip(nuclides, abundances):
pct = float('{:2.8g}'.format(percent*abundance))
#pct = float('{:2.8g}'.format())
pct = percent*abundance
isotopes.append((nuclide, pct, percent_type))
return isotopes

View file

@ -1 +1 @@
89207d3b5639e54be2d2a3e4f8ea38a3b7d438c3d3da9d80d76b9fed9f2d44168dfad0ea273891a817ea87ba144107fdd3b9e1b89a2c8c08880a53d645e4af9a
f270ae43a29c53065678b419629ad713f5a4cc23c75825fee4da049d4159756f463fec86263a8dea6ce10fff6d60b24ebf100e8f5cc80e6d4fc31297ae1709ed

View file

@ -1 +1 @@
87a238e2fef484680349715d37fcac80b10a8b503381923e1aa324c462156802dc01ce07a38ab5d00878dbe26cebede7879227c819334be071086c8b5cb3e5ee
835357f7b3c10f1153bb5842978075d9bb788d639759f143dfe58064865712fdf4e17ce50747949411e7c5215f33371e883e48b670509e222fa338bbfe613b80