Skip to content

Releases: idaholab/MontePy

Release 0.4.1

12 Sep 21:37
Compare
Choose a tag to compare

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 :sup:2) (#510).

Deprecations

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

Release 0.4.0

23 Aug 00:36
Compare
Choose a tag to compare

Features Added

  • Write problems to either file paths or streams (file handles) with MCNP_Problem.write_problem() (#492).
  • When adding a material to problem.materials it will also be added to problem.data_inputs, ensuring it is printed to the file (#488).

Bug Fixes

  • Fixed bug that didn't show metastable states for pretty printing and isotope. Also handled the case that Am-241 metstable states break convention (#486).
  • Fixed bug where cell modifiers could be made irrelevant by being added after a comment (#483).
  • Fixed bug where parentheses in cell geometry are not properly exported (#491).

Release 0.3.3

13 Aug 18:36
Compare
Choose a tag to compare

Bug fixes

  • Fixed bug with material compositions not being updated when written to file (#470).
  • Fixed bug with appending and renumbering numbered objects from other MCNP problems (#466).
  • Fixed bug with dynamic typing and the parsers that only appear in edge cases (#461).
  • Fixed parser bug with having spaces in the start of the transform input for the fill of a cell (#479).
  • Fixed bug with trying to get trailing comments from non-existant parts of the syntax tree (#480).

Code Quality

  • Simpler Isotope representation (#473).

Release 0.3.2

23 Jul 12:15
Compare
Choose a tag to compare

Bug fixes

  • Fixed bug with trailing dollar sign comments that moved them to a new line. (#458).

Release 0.3.1

19 Jul 16:59
Compare
Choose a tag to compare

Bug fixes

  • Fixed parser bug with parsing cells with implicit intersection, e.g., (1:-2)(3:-4). (#355).

Release 0.3.0

17 Jul 22:43
Compare
Choose a tag to compare

Features Added

  • overwrite argument added to MCNP_Problem.write_to_file to ensure files are only overwritten if the user really wants to do so (#443).

Bug fixes

  • Fixed bug with SDEF input, and made parser more robust (#396).

Merge Requests

#435, #438, #439, #443, #444, #440, and #431.

Release 0.2.10

01 Jul 20:45
Compare
Choose a tag to compare

Bug Fixes

  • Fixed bug with parsing tally segments (#377)

Note: v0.2.9 was skipped due to this version already being taken on test PyPI due to CI testing.

Release 0.2.8

01 Jul 16:51
Compare
Choose a tag to compare

Documentation

  • Added link to the PyPI project on the Sphinx site (#410)
  • Added link shortcuts for MCNP manual, and github issues and pull requests (#417).
  • Added discussion of MCNP output files to FAQ (#400).
  • Updated MCNP 6.3 manual link to point to OSTI/DOI (#424).

CI/CD

  • Fixed project metadata for author to show up correctly on PyPI (#408)
  • Removed automated versioning from CI/CD, and simplified deploy process (#418)

v0.2.7

30 May 18:19
f2b68fe
Compare
Choose a tag to compare

Bug fixes

  • Made versioning system more robust for all situations (#386).
  • Fixed bug with handling read inputs, and made parser more efficient (#206)
  • Fixed bug that couldn't read materials without a library. E.g., 1001 vs. 1001.80c (#365).

Documentation

  • Improved community documentation for contributing. (#375)
  • Added a changelog (#375)
  • Improved how the python API is navigated. (#359)

CI/CD

  • Improved coveralls integration so actual source code can be shown.
  • Improved sphinx build process (#388)

0.2.6 patch release

15 Apr 22:04
d910100
Compare
Choose a tag to compare

Bug Fixes

  • material: Fixed thermal scattering law never being written to file. (872662f)
  • syntax: Fixed not ignoring vertical mode hidden by comments. (847129e)
  • syntax tree: Fixed typing issue with GeometryTree causing exception (7a24ac0)

Reverts

  • Revert "Defined recursive GeometryTree Comments function for nested dicts." (4246f30)

Continuous Integration

  • Implemented better CI and CD (0885472)
  • coveralls: fixed path issue with coveralls. (ab21045)