mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Float -> string for ElementTree
This commit is contained in:
parent
1c5016167a
commit
182e8107d3
1 changed files with 1 additions and 1 deletions
|
|
@ -982,7 +982,7 @@ class Material(IDManagerMixin):
|
|||
for sab in self._sab:
|
||||
subelement = ET.SubElement(element, "sab")
|
||||
subelement.set("name", sab[0])
|
||||
subelement.set("fraction", sab[1])
|
||||
subelement.set("fraction", str(sab[1]))
|
||||
|
||||
return element
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue