From 444d27357f819b58cbb5620ffeca8cd14391c438 Mon Sep 17 00:00:00 2001 From: shimwell Date: Wed, 25 Nov 2026 14:14:45 +0100 Subject: [PATCH 1/4] Remove the MCNP ACE converters convert_mcnp70, convert_mcnp71 and convert_lib80x need LANL's licensed MCNP data, so they could never be tested here (CI only ran --help). openmc-dev/data provides the same scripts. --- .github/workflows/test_package.yml | 3 - .github/workflows/test_processing.yml | 4 - README.md | 6 - pyproject.toml | 3 - src/openmc_data/convert/convert_lib80x.py | 114 ------------------- src/openmc_data/convert/convert_mcnp70.py | 127 ---------------------- src/openmc_data/convert/convert_mcnp71.py | 122 --------------------- 7 files changed, 379 deletions(-) delete mode 100755 src/openmc_data/convert/convert_lib80x.py delete mode 100755 src/openmc_data/convert/convert_mcnp70.py delete mode 100755 src/openmc_data/convert/convert_mcnp71.py diff --git a/.github/workflows/test_package.yml b/.github/workflows/test_package.yml index d2f2676..ce3138b 100644 --- a/.github/workflows/test_package.yml +++ b/.github/workflows/test_package.yml @@ -52,9 +52,6 @@ jobs: run: | convert_fendl --help convert_jeff --help - convert_lib80x --help - convert_mcnp70 --help - convert_mcnp71 --help convert_endf --help convert_tendl --help diff --git a/.github/workflows/test_processing.yml b/.github/workflows/test_processing.yml index 35f814c..cac6e5a 100644 --- a/.github/workflows/test_processing.yml +++ b/.github/workflows/test_processing.yml @@ -48,10 +48,6 @@ jobs: cd .. pip install . - # Convert scripts that require MCNP nuclear data are not tested because - # the CI doesn't contain that nuclear data. - # convert_lib80x.py convert_mcnp70.py convert_mcnp71.py files are not tested here - - name: test default convert_fendl if: inputs.script == 'convert_fendl' run: | diff --git a/README.md b/README.md index a71f8b8..cfbe7be 100644 --- a/README.md +++ b/README.md @@ -95,10 +95,7 @@ loads. `openmc.data.DataLibrary` drops comments when it rewrites a file. | Script name | Library | Release | |-|-|-| -|convert_mcnp70 | ENDF/B | VII.0 | -|convert_mcnp71 | ENDF/B | VII.1 | |convert_endf | ENDF/B | VII.1 | -|convert_lib80x | ENDF/B | VIII.0 | |convert_fendl | FENDL | 3.2c
3.2b
3.2a
3.2
3.1d
3.1a
3.1
3.0
2.1 | |convert_jeff | JEFF | 3.2
3.3
4.0 (default) | |convert_tendl | TENDL | 2015
2017
2019
2021 | @@ -158,11 +155,8 @@ substitutions.