Skip to content

Release 0.4.1

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Sep 21:37
· 373 commits to develop since this release

Features Added

  • Added support for reading an input from either file paths or streams (file handles) with montepy.read_input (#519).

Bug Fixes

  • Fixed a bug where problem.materials.append_renumber would double add a material to problem.data_inputs (#516).
  • Fixed bug where material-level library specifications (e.g., m1 plib=84p) could not be fully parsed (#521).
  • Fixed bug with shortcuts right after another shortcut (e.g., 1 2M 3R) not being properly recompressed on export (#499).
  • Fixed bug with shortcuts in cell geometry definitions not being recompressed on export (#489).
  • Fixed bug where leading comments were not always transferred to the appropriate input. (#352, #526).

Performance Improvement

  • Fixed method of linking Material to ThermalScattering objects, avoiding a very expensive O(N 2) (#510).

Deprecations

  • Marked Material.material_components as deprecated, and created migration plan describing what to expect moving forward (#506).