Change xml_write -> export_to_xml, xml_read -> from_xml for consistency

This commit is contained in:
Paul Romano 2018-02-14 10:17:30 -06:00
parent 26852f79f4
commit 43147b70eb
6 changed files with 20 additions and 19 deletions

View file

@ -53,7 +53,7 @@ def main():
neutron_files = glob.glob(os.path.join('neutrons', '*.endf'))
chain = openmc.deplete.DepletionChain.from_endf(decay_files, nfy_files, neutron_files)
chain.xml_write('chain_endfb71.xml')
chain.export_to_xml('chain_endfb71.xml')
if __name__ == '__main__':