Commit graph

7 commits

Author SHA1 Message Date
Paul Romano
38550f3bf8 Use sorted() to sort XML elements in geometry.xml 2017-12-11 13:01:18 +07:00
Paul Romano
8265c75cb0 Sort XML elements by integer ID, use 2 spaces per indent level
Some test results actually change because the different ordering of materials in
the XML file results in a different order in which nuclides are loaded
in. Because probability table sampling is sensitive to the order of nuclides,
the RNG stream ends up being different.
2017-06-07 20:12:51 -05:00
Paul Romano
c34460d647 Make spaces per indent configurable for clean_xml_indentation 2016-11-18 11:31:30 -06:00
Paul Romano
f84a4ee430 Avoid DeprecationWarning from xml.etree.Element.getchildren() 2015-12-08 07:19:31 -06:00
Sterling Harper
8030112938 Use OrderedDict for material nuclides in PyAPI 2015-10-03 00:41:42 -04:00
Sterling Harper
6ecc9ae6a1 Fix clean_xml.py indentation 2015-08-13 20:51:27 -06:00
Paul Romano
498e07d0bf Move Python API into openmc/ directory and move Python scripts into scripts/
directory.
2015-05-31 09:26:18 +07:00
Renamed from src/utils/openmc/clean_xml.py (Browse further)