Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
10358d2
Added test surface scratch export.
MicahGale Apr 15, 2025
1c98d17
Tested #711.
MicahGale Apr 15, 2025
39c129e
Merge branch 'develop' into 652-surfaces-cant-be-created-and-exported…
MicahGale Apr 15, 2025
82e655e
Added answer notebooks from INL/CON-24-82568
MicahGale Apr 17, 2025
1c6271e
Added default surface tree; poorly.
MicahGale Apr 19, 2025
f476712
Migrated interactive notebooks over.
MicahGale Apr 21, 2025
a660405
Added conda environment.
MicahGale Apr 21, 2025
d78f1b9
Removed all speaker pauses.
MicahGale Apr 21, 2025
153ceca
Made small tweaks to demo problems.
MicahGale Apr 21, 2025
50357cb
Moved answers to own folder.
MicahGale Apr 24, 2025
369e1e7
Made tweaks.
MicahGale Apr 24, 2025
fcec5fb
Harmonized answer key for 1.
MicahGale Apr 24, 2025
fbad3d5
harmonized notebook 2.
MicahGale Apr 24, 2025
3080658
Harmonized notebook 3.
MicahGale Apr 24, 2025
7f06eac
Harmonized notebook 4.
MicahGale Apr 24, 2025
02aaffb
Added some comments and issues.
MicahGale Apr 27, 2025
3652eab
Updated workshop demo paths in tests
MicahGale May 3, 2025
13e3202
Fixed notebook bug where the new zirc material isn't actually used.
MicahGale May 3, 2025
4dc5311
Added presentation option
MicahGale May 3, 2025
c76a556
Added a quick blurb about using our demo notebooks.
MicahGale May 3, 2025
5d7827b
Black formatted notebooks.
MicahGale May 3, 2025
5fe27b9
Added jupyter demos to changelog.
MicahGale May 3, 2025
c6e00d0
Merge branch 'develop' into MC_workshop
MicahGale May 20, 2025
af1b977
Moved IFrame dimensions to own config file.
MicahGale May 20, 2025
59e082b
Changed license information to be PEP 639.
MicahGale May 20, 2025
9e7dffa
Updated build backend to be PEP 639
MicahGale May 20, 2025
19dc07f
Changed Zenodo DOI to be universal DOI not version specific.
MicahGale May 20, 2025
80869f4
Merge pull request #750 from idaholab/MC_workshop
MicahGale May 20, 2025
c40c31c
Replicated #755 with testing wierd sdef.
MicahGale May 20, 2025
c6c0e60
Added DE parsing test.
MicahGale May 21, 2025
4a52c26
Implemented a vorbidden class
MicahGale May 21, 2025
10431c5
Made sure that the token generator is always closed.
MicahGale May 21, 2025
58fbb6e
Updated tests to test error raising.
MicahGale May 21, 2025
a882f20
Ensured input is always input internally.
MicahGale May 21, 2025
7687fdf
Updated docs for forbiddenDataInput.
MicahGale May 21, 2025
dc17edc
Added docs on how to forbid inputs.
MicahGale May 21, 2025
5de91f9
Added #755, #364 to changelog.
MicahGale May 21, 2025
3fca8fb
Updated changelog to have 1.1 minor releases.
MicahGale May 21, 2025
278314c
Updated default syntax tree to be mostly valid.
MicahGale May 26, 2025
fa323bd
Fixed bug with default tree overriding number arg.
MicahGale May 26, 2025
c809024
Fixed bug with pointer value not getting unset.
MicahGale May 26, 2025
efca950
Fixed typo in tests; how did we not find this?
MicahGale May 26, 2025
0595b67
Made mechanism for classes to customize default surface tree.
MicahGale May 26, 2025
47f41f2
Updated scratch tests to be correct.
MicahGale May 26, 2025
b904a9a
Fixed issue with modifiers in default tree.
MicahGale May 26, 2025
56e61e6
Updated axis plane to always use syntax tree.
MicahGale May 26, 2025
0780e57
Updated syntax tree to be negatable.
MicahGale May 26, 2025
28877a8
Added question for @tjlaboss.
MicahGale May 26, 2025
b3b96ae
Merge branch 'develop' into 652-surfaces-cant-be-created-and-exported…
MicahGale May 26, 2025
5a4e0b1
Added test for None number.
MicahGale May 26, 2025
f97e893
Enforced non-negative object numbers.
MicahGale May 26, 2025
39e521a
Added #747 to changelog.
MicahGale May 26, 2025
f5ce05c
Updated surface validation to check for valid number.
MicahGale Jun 1, 2025
f3e9180
updated surface test with new validation rules.
MicahGale Jun 1, 2025
1d72018
Added doc strings to surface default tree.
MicahGale Jun 1, 2025
ce4ef81
Merge pull request #767 from idaholab/755-parser-is-confused-by-x-and…
MicahGale Jun 6, 2025
71c8260
Merge branch 'develop' into 652-surfaces-cant-be-created-and-exported…
MicahGale Jun 6, 2025
9ebe868
Updated default behaviors with feedback.
MicahGale Jun 6, 2025
b0c19d5
lazily yanked out default surface type infrastructure.
MicahGale Jun 27, 2025
b8f4d60
Fixed bug with switch_to_upper and allow_none for convert_to_enum
MicahGale Jun 27, 2025
9c1ea9b
Allowed None surface_type.
MicahGale Jun 27, 2025
906219d
Abstracted away and made allowed surface_type more DRY.
MicahGale Jun 27, 2025
3bf1584
Added surface type to init.
MicahGale Jun 27, 2025
ad124a4
Documented new abstraction methods.
MicahGale Jun 27, 2025
fb14358
tested validation better, and tested surface_type setter.
MicahGale Jun 27, 2025
360487c
Updated dev guide on how to do surface_type enforcement.
MicahGale Jun 27, 2025
2418765
Added surface_type validation back in.
MicahGale Jun 27, 2025
8df73f9
Added tests for surface_type arg.
MicahGale Jun 27, 2025
bcf6c07
Fixed small bugs with surface_type arg.
MicahGale Jun 27, 2025
e8c6250
Tested check number and append_renumber with negative.
MicahGale Jun 27, 2025
75c261e
Fixed issues with negative numbers in append_renumber.
MicahGale Jun 27, 2025
fbc12ce
Fixed dead code to avoid subclassing issue.
MicahGale Jun 27, 2025
4f77b74
Moved away from 0.0 as default surface constant.
MicahGale Jun 27, 2025
c79b3a9
Updated validation tests to not get hung up on no numbers.
MicahGale Jun 27, 2025
0ef0f58
Revert "Updated validation tests to not get hung up on no numbers."
MicahGale Jun 27, 2025
563b2c6
Added simple test to replicate #584.
MicahGale Jul 2, 2025
71665ad
Merge pull request #772 from idaholab/584-fail-to-parse-fq-cards
MicahGale Jul 2, 2025
be36690
Merge branch 'develop' into 652-surfaces-cant-be-created-and-exported…
MicahGale Jul 2, 2025
91a2136
Drafted dependabot
MicahGale Jul 1, 2025
206e781
Pinned all non-GH actions to specific commits for security.
MicahGale Jul 2, 2025
4660115
Removed some dead code.
MicahGale Jul 3, 2025
cf6bdaa
Merge pull request #773 from idaholab/dependabot
MicahGale Jul 3, 2025
aee1aea
Bump sigstore/gh-action-sigstore-python from 3.0.0 to 3.0.1
dependabot[bot] Jul 3, 2025
e78a360
Merge branch 'develop' into 652-surfaces-cant-be-created-and-exported…
MicahGale Jul 3, 2025
5be9782
Also pin down alpha workflow.
MicahGale Jul 3, 2025
156024e
Merge pull request #774 from idaholab/dependabot/github_actions/sigst…
MicahGale Jul 3, 2025
9aaaa5e
Merge branch 'develop' into 652-surfaces-cant-be-created-and-exported…
MicahGale Jul 3, 2025
d7f6be7
Merge pull request #747 from idaholab/652-surfaces-cant-be-created-an…
tjlaboss Jul 3, 2025
f66a67a
Added some top level use case info to help with keywords for SEO.
MicahGale Jul 4, 2025
d894fdc
Merge branch 'develop' into 754-add-parameterized-for-seo
MicahGale Jul 4, 2025
765fc52
Dissallow indexing of downloads. it's duplicate information, in a les…
MicahGale Jul 7, 2025
4d7e3b3
Merge pull request #775 from idaholab/754-add-parameterized-for-seo
MicahGale Jul 7, 2025
c0b756c
Updating changelog to next version: 1.1.1
MicahGale Jul 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
8 changes: 4 additions & 4 deletions .github/workflows/deploy-alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:
run: .github/scripts/check_version.py --alpha
- run: python -m build .
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v3.0.0
uses: sigstore/gh-action-sigstore-python@da62987e6c3e005b9835a67dd171c6e23ec6cfd6
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create a GitHub release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@bcfe5470707e8832e12347755757cec0eb3c22af
with:
tag: v${{ steps.get_version.outputs.version }}
name: Release ${{ steps.get_version.outputs.version }}
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
name: build
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
with:
repository-url: https://test.pypi.org/legacy/

Expand All @@ -100,7 +100,7 @@ jobs:
name: build
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc



Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ jobs:
run: .github/scripts/check_version.py
- run: python -m build .
- name: Sign the dists with Sigstore
uses: sigstore/gh-action-sigstore-python@v3.0.0
uses: sigstore/gh-action-sigstore-python@da62987e6c3e005b9835a67dd171c6e23ec6cfd6
with:
inputs: >-
./dist/*.tar.gz
./dist/*.whl
- name: Create a GitHub release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@bcfe5470707e8832e12347755757cec0eb3c22af
with:
tag: v${{ steps.get_version.outputs.version }}
name: Release ${{ steps.get_version.outputs.version }}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
name: build
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
with:
repository-url: https://test.pypi.org/legacy/

Expand All @@ -102,7 +102,7 @@ jobs:
name: build
path: dist/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc



Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
path: coverage.xml
- name: Coveralls GitHub Action
if: ${{ matrix.python-version == '3.12' && matrix.numpy-version == '2.0' && (success() || failure() )}}
uses: coverallsapp/github-action@v2
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
file: coverage.xml
github-token: ${{ secrets.github_token }}
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
make doctest
name: Test all example code in documentation.
- run: |
cd demo
cd demo/answers
for file in *.ipynb; do papermill $file foo.ipynb; done
name: Test all demo notebooks

Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/montepy.svg)](https://anaconda.org/conda-forge/montepy)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/montepy.svg)](https://pypi.org/project/montepy/)

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15185600.svg)](https://doi.org/10.5281/zenodo.15185600)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.15185506.svg)](https://doi.org/10.5281/zenodo.15185506)

MontePy is the most user-friendly Python library for reading, editing, and writing MCNP input files.

Expand Down Expand Up @@ -89,6 +89,16 @@ problem.write_problem("foo_update.imcnp")

For more examples see the [getting started guide](https://www.montepy.org/en/stable/starting.html).

### Use Cases

Here are some possible use cases for MontePy:

* Automated updating of an MCNP input file, or MCNP deck, for reactor reconfiguration, fuel shuffling, etc.
* Parameterizing an MCNP input file to check for explore the parametric space of your MCNP modeling problem
* Updating an MCNP model with the results from another code, such as depletion results from ORIGEN.
* To convert an MCNP model to another Monte Carlo code like OpenMC, SERPENT, etc.


## Limitations

Here a few of the known bugs and limitations:
Expand Down
Loading
Loading