Skip to content

Releases: idaholab/MontePy

Release 0.1.6-beta

12 Jan 00:47
Compare
Choose a tag to compare

This is a minor release. It includes some bug fixes, and more importantly a rebranding.

Now this package is called MontePy.

Bug Fixes

  1. Fixed bug that += didn't work with Numbered object collections
  2. Updated the Documentation URL for sphinx
  3. Improved (and then removed) guidance on weird gitlab installation workflow.

Release 0.1.5-beta

12 Jan 00:41
Compare
Choose a tag to compare

This release is primarily focused on bugs discovered after 0.1.0 that are critical to fix.

Tests were added that replicated all bugs. An additional four tests were written; the rest were covered by modifying existing tests. The new tests have 149 more lines of code.

Bugs fixed

  • When a PX style surface was 1 PZ 0 this would cause a validation error.
  • Empty "cell modifiers" would be printed in the data block even if they had no useful information. E.g., U 30J
  • Volumes couldn't start with a jump e.g., vol j 1.0
  • "Cell modifiers" were printed both in the cell block and the data block.
  • Running problem.cells = [] would make the problem impossible to write to file.
  • Support was added for tabs.

Issues:

#79, #86, #88, #90, #91, #100, #101, #104, #108

MRs

!62, !63, !64, !65, !66, !67, !68, !69

Release 0.1.0-beta

12 Jan 00:41
Compare
Choose a tag to compare

Summary

This release primarily focused on "cell modifiers" inputs, those that modify a cell with further data, such as imp, vol, etc.
The most difficult and useful one of these being Universes lattices and fills.

How to Use new Features

  • Just see the getting started guide for this. Specifically for sections like "Setting Cell Importances", "Universes", and "Setting How Cell Data Gets displayed in the Input File."

Features Added

  • Added infrastructure to support cell modifier cards easily
  • Added support for importances, and particle modes imp, mode.
  • Added support for cell volumes vol.
  • Add support for Universes, lattices, and fills U, fill, lat.
  • Created universal system for parsing parameters
  • If you create an object from scratch and write it out to a file while it is missing, it will gracefully fail with a helpful error message.
  • Added support for detecting metastable isotopes.
  • Improved the experience with densities in Cell instead of having cell.density now there is cell.mass_density and cell.atom_density.

Code Quality

  • Removed magic numbers for number of characters in a line.
  • Reduced the usage of regular expressions
  • Made error messages related to invalid user set attributes clearer.
  • Cleaned up documentation and docstrings

Bugs Fixed

  • Improved CI backend
  • Supported parameters that don't have equal signs. MCNP supports 1 0 -1 u 1
  • Now doesn't try to expand shortcuts inside of FC and SC comments.

Issues

#23, #27, #34, #36, #39, #40, #41, #42, #51, #53, #63, #70, #73, #67, #49, #25, #9

Merge Requests

!30, !31, !33, !34, !35, !37, !38, !39, !40, !41, !42, !43, !51, !53, !55, !56, !45, !50, !54

Release 0.0.5-beta

12 Jan 00:41
Compare
Choose a tag to compare

Features Added

  • Object numbers are now generalized: e.g., cell.cell_number has changed to cell.number. The .number property is standardized across all numbered objects.
  • Implementation of the NumberedObjectCollections which is implemented for cells, surfaces, and materials. This changed these collections from being a list to acting like a dict. Objects are now retrievable by their number e.g., cells[1005] will retrieve cell 1005.
  • Implemented integration testing; test suite now has over 120 test cases, with over 97% code coverage.
  • Implemented "pass-through" of the original inputs. If an object is not edited or mutated, the original formatting from the input file will be copied out to the output.
  • Support was added for most MCNP shortcuts: (R, I, M, LOG), J still needs some better support. MCNPy will expand these shortcuts, but will not "recompress" them.
  • Added sphinx documentation website. This documents the API, has a starting guide for the users, and a guide for developers.

Bugs Fixed

  • Comments that "cut" a parent card are now supported.

Issues

#2, #6, #11, #13, #17, #18, #19, #20, #28,

MRs

!9, !11, !16, !18, !13, !19, !20, !22, !23

0.0.2-alpha

12 Jan 01:15
Compare
Choose a tag to compare
Merge branch 'develop' into 'main'

Release 0.0.2

See merge request experiment_analysis/mcnpy!12

0.0.1-alpha

12 Jan 00:47
Compare
Choose a tag to compare

First official release.