mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Update openmc/deplete/nuclide.py per @pshriwise suggestion
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
parent
10abbe910a
commit
6719aa218e
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ class Nuclide:
|
|||
# TODO: Ugly hack to deal with the fact that
|
||||
# 'source.to_xml_element' will return an xml.etree object
|
||||
# whereas here lxml is being used preferentially. We should just
|
||||
# switch to use lxml everywhere,
|
||||
# switch to use lxml everywhere
|
||||
import xml.etree.ElementTree as etree
|
||||
src_elem_xmletree = source.to_xml_element('source')
|
||||
src_elem = ET.fromstring(etree.tostring(src_elem_xmletree))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue