From 6719aa218e78ea0e637b278259db37dc570c8b52 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Fri, 30 Sep 2022 13:30:23 -0500 Subject: [PATCH] Update openmc/deplete/nuclide.py per @pshriwise suggestion Co-authored-by: Patrick Shriwise --- openmc/deplete/nuclide.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/deplete/nuclide.py b/openmc/deplete/nuclide.py index 2508619852..b84b91a7ff 100644 --- a/openmc/deplete/nuclide.py +++ b/openmc/deplete/nuclide.py @@ -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))