Repository navigation
Release 1.5.0
·
721 commits
to develop
since this release
Changelog
Features Added
- Added
HalfSpace.replaceto swap dividers in a cell geometry tree, andHalfSpace.__iter__to traverse geometry leaves (#737). - Added
montepy.Cell.is_mass_densas the logical complement ofmontepy.Cell.is_atom_dens, returningNonewhen no density is set (#964). - Added support for the
inoperator on comments, so a comment's text can be searched with e.g."keyword" in comment(#185). - Added
montepy.comments.CommentCollection, now returned bycommentsandleading_comments, so an object can be found by its comments with e.g."keyword" in cell.comments, or searched by regular expression withcell.comments.search(#185).
Bugs Fixed
- Fixed parsing of multiply shortcuts in universe data cards such as
1 8M(#975). - Fixed
leading_commentscrashing when set with more than one comment (#972). - Fixed bug where values for user generated objects would be rounded off at five digits no matter what. This will now round off at 15 digits if necessary (#962).
Performance Improvement
- Fixed
_ExceptionContextAdderwrapping every method and property, including private and dunder ones, in a try/except due to a missingcontinue, and reducedMCNP_Object.__setattr__from two class lookups to one (#990).
What's Changed
- Bump actions/upload-artifact from 7.0.0 to 7.0.1 by @dependabot[bot] in #951
- Bump pypa/gh-action-pypi-publish from 1.13.0 to 1.14.0 by @dependabot[bot] in #950
- Added INL document numbers to demo workshops. by @MicahGale in #952
- Fixing warnings issued by setuptools scm by @MicahGale in #954
- Added conda install guide. by @MicahGale in #956
- Drop "montepy." prefix from API nav entries (#901) by @tjlaboss in #957
- Search Engine Optimization by @MicahGale in #961
- Updated workflow to actually run coveralls. by @MicahGale in #965
- Updated default float precision to be basically machine precision. by @MicahGale in #966
- Fixed deprecated test fixtures breaking tests by @MicahGale in #970
- Bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in #967
- Started testing against python 3.15 dev releases. by @MicahGale in #968
- Bump sigstore/gh-action-sigstore-python from 3.3.0 to 3.4.0 by @dependabot[bot] in #973
- Allow editing cell geometry definition by @digvijay-y in #945
- Pinned jupyterlit sphinx due to bad dependency resolution. by @MicahGale in #979
- Bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in #977
- Bump readthedocs/actions/preview from 31a30360a2d7530806bff6855aa209167f06a89c to fa6846867b4616e65886b37ae564cb695e8dc570 by @dependabot[bot] in #976
- Bump actions/setup-python from 6.2.0 to 6.3.0 by @dependabot[bot] in #980
- Update setuptools-scm requirement from <10.0,>=8 to >=8,<11.0 by @dependabot[bot] in #981
- Cleaned up changelog versions by @MicahGale in #983
- Add
inoperator support to comments by @yrasool in #972 - Update setuptools-scm requirement from <10.0,>=8 to >=8,<11.0 by @dependabot[bot] in #986
- Bump dorny/paths-filter from 4.0.1 to 4.0.2 by @dependabot[bot] in #985
- Add commonly missed doc strings to the checklist. by @MicahGale in #988
- Add Cell.is_mass_dens as the complement of is_atom_dens by @steps-re in #984
- Fix metaclass/setattr overhead in MCNP_Object hot paths by @MicahGale in #991
- fix: parse multiply shortcuts in universe data cards by @chenlichao in #975
- Test that str/repr of user-facing objects never raise by @yrasool in #974
- Release 1.6.0 by @MicahGale in #992
New Contributors
- @yrasool made their first contribution in #972
- @steps-re made their first contribution in #984
- @chenlichao made their first contribution in #975
Full Changelog: v1.4.0...v1.5.0