Features Added
- Added checking for additional input after the
datablock, and raising a warning if it exists (#525). - Allow multiple universe fills to accept 2D MNCP lattices (#719).
- Make
LatticeType.RECTANGULARandLatticeType.HEXAHEDRALsynonymous (#808). - Allow setting
cell.fill.universeswith a numpy array of universe IDs (#736).
Performance Improvement
- Optimized
$\mathcal{O}(N^2)$ scaling inmontepy.NumberedObjectCollection.request_numberby improvingNumberedObjectCollection.check_numberto$\mathcal{O}(N)$ (#786).
Bugs Fixed
- Fixed bug where lines that were the allowed length was raising a
LineOverRunWarningwhen read by MontePy (#517). - Added descriptive TypeError messages (#801)
- Fixed a bug that caused to write an extra termination line between the data block and the cell data section in the MCNP input. (#819) (#703).
Documentation
Added a web browser instance of jupyter to the website allowing testing out MontePy with no python installed locally (#796).
- Improved documentation for
NumberedObjectCollectionon Slicing behavior. (#798) - Reorganized Python API documentation. Some hyperlinks may be broken now (#828).
Deprecations
Contributors
What's Changed
- adopt spec 0 by @MicahGale in #781
- Drop numpy 1.26 and Python 3.11 by @MicahGale in #807
- Feature: Set cell.fill.universes with an array of IDs by @digvijay-y in #815
- Add support for python 3.14, and drop prior to 3.12 by @MicahGale in #820
- Rename hex by @tjlaboss in #822
- Remove python 3.9 dead code by @MicahGale in #824
- Stage release 1.2.0 by @MicahGale in #823
- Fixed how API docs are generated by @MicahGale in #828
- Add: boundary condition type to repr for surfaces by @digvijay-y in #831
- Make multiple universe fills accept < 3 dimensions by @digvijay-y in #835
- Update ipykernel requirement from ~=6.0 to >=6,<8 by @dependabot[bot] in #836
- Feature/525 detect empty lines by @kordusas in #819
- Bump actions/download-artifact from 5 to 6 by @dependabot[bot] in #840
- Bump actions/upload-artifact from 4 to 5 by @dependabot[bot] in #839
- Bump sigstore/gh-action-sigstore-python from f909491f27c345faa936da468c9ddfac57cbeb49 to 27dac9cce16c9883a0d4b51c9e0a520102d68016 by @dependabot[bot] in #838
- Improve NumberedObjectCollection.check_number by @digvijay-y in #841
- Update default importance values to 1.0 in Importance class and tests by @Kaos599 in #830
- Temporarily fixed parsing error with
FMESHby @MicahGale in #850 - Used semi-emperical mass formula to avoid testing with ridiculous nuclides by @MicahGale in #851
- Added Jupyter Lite to Website for in browser python. by @MicahGale in #843
- Stage release 1.2.0 by @MicahGale in #845
New Contributors
Full Changelog: v1.1.3...v1.2.0