openmc-data 2.2.12__py3-none-any.whl → 2.3.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openmc_data/_version.py +9 -4
- openmc_data/download/{download_endf_chain.py → download_chain.py} +20 -10
- openmc_data/urls_xml.py +9 -0
- {openmc_data-2.2.12.dist-info → openmc_data-2.3.1.dist-info}/METADATA +4 -3
- {openmc_data-2.2.12.dist-info → openmc_data-2.3.1.dist-info}/RECORD +9 -9
- {openmc_data-2.2.12.dist-info → openmc_data-2.3.1.dist-info}/WHEEL +1 -1
- {openmc_data-2.2.12.dist-info → openmc_data-2.3.1.dist-info}/entry_points.txt +1 -1
- {openmc_data-2.2.12.dist-info → openmc_data-2.3.1.dist-info/licenses}/LICENSE +0 -0
- {openmc_data-2.2.12.dist-info → openmc_data-2.3.1.dist-info}/top_level.txt +0 -0
openmc_data/_version.py
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
# file generated by
|
|
1
|
+
# file generated by setuptools-scm
|
|
2
2
|
# don't change, don't track in version control
|
|
3
|
+
|
|
4
|
+
__all__ = ["__version__", "__version_tuple__", "version", "version_tuple"]
|
|
5
|
+
|
|
3
6
|
TYPE_CHECKING = False
|
|
4
7
|
if TYPE_CHECKING:
|
|
5
|
-
from typing import Tuple
|
|
8
|
+
from typing import Tuple
|
|
9
|
+
from typing import Union
|
|
10
|
+
|
|
6
11
|
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
7
12
|
else:
|
|
8
13
|
VERSION_TUPLE = object
|
|
@@ -12,5 +17,5 @@ __version__: str
|
|
|
12
17
|
__version_tuple__: VERSION_TUPLE
|
|
13
18
|
version_tuple: VERSION_TUPLE
|
|
14
19
|
|
|
15
|
-
__version__ = version = '2.
|
|
16
|
-
__version_tuple__ = version_tuple = (2,
|
|
20
|
+
__version__ = version = '2.3.1'
|
|
21
|
+
__version_tuple__ = version_tuple = (2, 3, 1)
|
|
@@ -37,19 +37,30 @@ parser.add_argument(
|
|
|
37
37
|
parser.add_argument(
|
|
38
38
|
"-r",
|
|
39
39
|
"--release",
|
|
40
|
-
choices=["b7.1", "b8.0"],
|
|
41
|
-
default="
|
|
40
|
+
choices=["b7.1", "b8.0", "2019"],
|
|
41
|
+
default="2019",
|
|
42
42
|
help="The nuclear data library release version. The currently supported "
|
|
43
|
-
"options are b7.1 and b8.0",
|
|
43
|
+
"options are b7.1 and b8.0.",
|
|
44
|
+
)
|
|
45
|
+
parser.add_argument(
|
|
46
|
+
"-l",
|
|
47
|
+
"--library",
|
|
48
|
+
choices=["endf", "tendl"],
|
|
49
|
+
default="tendl",
|
|
50
|
+
help="The nuclear data library. The currently supported options are endf and tendl",
|
|
44
51
|
)
|
|
45
52
|
parser.add_argument(
|
|
46
53
|
"-b",
|
|
47
54
|
"--branching_ratios",
|
|
48
|
-
choices=["None", "SFR", "PWR"],
|
|
49
|
-
default="
|
|
55
|
+
choices=["None", "SFR", "PWR", "FNS"],
|
|
56
|
+
default="FNS",
|
|
50
57
|
help="The nuclear data library release version. The currently supported "
|
|
51
|
-
"options are b7.1 and b8.0 with branching ratio options of None,
|
|
52
|
-
"or
|
|
58
|
+
"options are endf b7.1 and b8.0 with branching ratio options of None, "
|
|
59
|
+
"SFR (sodium fast reactor), PWR (pressurized water reactor) or tendl "
|
|
60
|
+
"2019 with FNS (fusion neutron source) branching ratio. The tendl "
|
|
61
|
+
"chains are processed with neutron induced fission yields from"
|
|
62
|
+
"ENDF/B-VIII.0. There is an option to use JEFF 3.3 if you generate"
|
|
63
|
+
"your own chain file with the generate_tendl_chain command line tool.",
|
|
53
64
|
)
|
|
54
65
|
|
|
55
66
|
parser.set_defaults()
|
|
@@ -58,11 +69,10 @@ args = parser.parse_args()
|
|
|
58
69
|
|
|
59
70
|
def main():
|
|
60
71
|
|
|
61
|
-
|
|
62
|
-
details = all_chain_release_details[library_name][args.release][args.branching_ratios]["chain"]
|
|
72
|
+
details = all_chain_release_details[args.library][args.release][args.branching_ratios]["chain"]
|
|
63
73
|
|
|
64
74
|
if args.filename is None:
|
|
65
|
-
args.filename = Path("-".join(["chain",
|
|
75
|
+
args.filename = Path("-".join(["chain", args.library, args.release])+".xml")
|
|
66
76
|
print(f'Using default filename {args.filename}')
|
|
67
77
|
|
|
68
78
|
download(
|
openmc_data/urls_xml.py
CHANGED
|
@@ -32,6 +32,15 @@ all_chain_release_details = {
|
|
|
32
32
|
"chain": {
|
|
33
33
|
"url": "https://github.com/openmc-data-storage/openmc_data/raw/main/src/openmc_data/depletion/chain_endf_b8.0_pwr.xml"
|
|
34
34
|
}
|
|
35
|
+
},
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"tendl": {
|
|
39
|
+
"2019": {
|
|
40
|
+
"FNS": {
|
|
41
|
+
"chain": {
|
|
42
|
+
"url": "https://github.com/jbae11/openmc_activator/raw/refs/heads/main/fns_spectrum.chain.xml"
|
|
43
|
+
}
|
|
35
44
|
}
|
|
36
45
|
}
|
|
37
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: openmc_data
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.1
|
|
4
4
|
Summary: A Python package containing a collection of scripts for producing and downloading data for OpenMC
|
|
5
5
|
Author-email: Jonathan Shimwell <mail@jshimwell.com>
|
|
6
6
|
License: Copyright (c) 2019-2022 UChicago Argonne LLC and contributors
|
|
@@ -35,6 +35,7 @@ Requires-Dist: numpy>=1.21.1
|
|
|
35
35
|
Provides-Extra: tests
|
|
36
36
|
Requires-Dist: pytest; extra == "tests"
|
|
37
37
|
Requires-Dist: requests; extra == "tests"
|
|
38
|
+
Dynamic: license-file
|
|
38
39
|
|
|
39
40
|
[](https://github.com/shimwell/data/actions/workflows/test_urls.yml)
|
|
40
41
|
[](https://github.com/openmc-data-storage/openmc_data/actions/workflows/test_package.yml)
|
|
@@ -152,7 +153,7 @@ A few categories of scripts are available:
|
|
|
152
153
|
|
|
153
154
|
| Script name | Library | Release | Branching options|
|
|
154
155
|
|-|-|-|-|
|
|
155
|
-
|
|
|
156
|
+
|download_chain | ENDF/B<br><br><br>TENDL | VII.1<br>VIII.0<br><br>2019 | None<br>SFR<br>PWR<br><br>FNS |
|
|
156
157
|
|
|
157
158
|
<!-- | Sctipt name | Library | Release | Download available | Download ENDF files and generates XML chain files |
|
|
158
159
|
|-|-|-|-|-|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
openmc_data/__init__.py,sha256=fOMSqMJm50askApEA9aDzgevM1QC4S-wyAh5xuLdltY,786
|
|
2
|
-
openmc_data/_version.py,sha256=
|
|
2
|
+
openmc_data/_version.py,sha256=4lLWfgycoQE7rafXKcKQeSzbG6DAo6_kH0qn9J_0diQ,511
|
|
3
3
|
openmc_data/urls.py,sha256=_mS-1DqXB52hE3BSeDBVae5wMh5eTwGAgU7hcRkpUpg,20375
|
|
4
4
|
openmc_data/urls_chain.py,sha256=YGgGcQGq8LgbWJS8uqoB7xwtmIBY-CljAhxUBcOVivY,3774
|
|
5
5
|
openmc_data/urls_h5.py,sha256=jg6FezS4p-ltNVMzTLw6QVcOdyCzOaiCap7PqbfYFMY,1292
|
|
6
|
-
openmc_data/urls_xml.py,sha256=
|
|
6
|
+
openmc_data/urls_xml.py,sha256=Iqkcz-XLH7u2bJHCZkXuU7qSl2SibZ3BtADUPeIAgUc,1667
|
|
7
7
|
openmc_data/utils.py,sha256=mmYR2RNRe_GZfFU8WPyAlPIcbnOxF33W0BOI4jV0O70,7498
|
|
8
8
|
openmc_data/convert/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
openmc_data/convert/convert_endf.py,sha256=6pP4wgaPTrCIK4qxOIp2CacFl-tMhQ0XvjDcWoCcI18,6610
|
|
@@ -41,8 +41,8 @@ openmc_data/depletion/serpent_fissq.json,sha256=qmXD5cdJJcr4_kNGsSR1jZMGeZRQ1iiB
|
|
|
41
41
|
openmc_data/depletion/tendl2019_nuclides.json,sha256=aiQK-tQOgpnISlXJbSLsIw_5zO-n1Wdirs8QPunnerA,6266
|
|
42
42
|
openmc_data/depletion/tendl2021_nuclides.json,sha256=aiQK-tQOgpnISlXJbSLsIw_5zO-n1Wdirs8QPunnerA,6266
|
|
43
43
|
openmc_data/download/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
44
|
+
openmc_data/download/download_chain.py,sha256=JbKYlgsde5dwmaHFrEuvqV8FJN3rBR6a9jFvxJ_RKWs,2352
|
|
44
45
|
openmc_data/download/download_endf.py,sha256=Sl1WkGqoAS1SweBWrySp8yR_nLTTJgeyezyOsChepu8,2845
|
|
45
|
-
openmc_data/download/download_endf_chain.py,sha256=O9uK7sC1yhnLzloGTkxIiGPmVt6tW_Hv2101Inblc4Q,1801
|
|
46
46
|
openmc_data/download/download_tendl.py,sha256=Ku1cHcmWXX93LT9s-Grcn-SoFHbqxw7T0zNDUD9Kjgs,2839
|
|
47
47
|
openmc_data/generate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
48
|
openmc_data/generate/generate_cendl.py,sha256=naeFyC99lLXutl6y9n4qebgMc-k2gMt9XC9kb_jL1HQ,6223
|
|
@@ -56,9 +56,9 @@ openmc_data/other/convert_tendl_rand.py,sha256=F3fq4vQ0kin_FjwAhZm8HP8GzQsk-1gYf
|
|
|
56
56
|
openmc_data/other/make_compton.py,sha256=xsY4fLHWceiRA8tUBVavlZ1TbIDk5HKgikWytEqq6vE,2466
|
|
57
57
|
openmc_data/other/make_stopping_powers.py,sha256=4Qy9L6VAHm5sMLrDadWX-xS8TSeT-QTiNHDXmZIcT7I,1956
|
|
58
58
|
openmc_data/other/sample_sandy.py,sha256=uwmZk_XZ59VJOLYqp8cOCruW45qTKzlbeuBwXB6Fk1c,6184
|
|
59
|
-
openmc_data-2.
|
|
60
|
-
openmc_data-2.
|
|
61
|
-
openmc_data-2.
|
|
62
|
-
openmc_data-2.
|
|
63
|
-
openmc_data-2.
|
|
64
|
-
openmc_data-2.
|
|
59
|
+
openmc_data-2.3.1.dist-info/licenses/LICENSE,sha256=T8b4ZA1twIAqilf_sxR250dAe8AdFhM3k6hqEE0TzBs,1086
|
|
60
|
+
openmc_data-2.3.1.dist-info/METADATA,sha256=u0QCFtmkVDebiKVeL_pgQYNNzJBhWMLA2sMXhPkCUcQ,9148
|
|
61
|
+
openmc_data-2.3.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
62
|
+
openmc_data-2.3.1.dist-info/entry_points.txt,sha256=41OOHtvaj_cqmMrQCltZLU5xZcARcNNRoiFGUvqrmXY,1785
|
|
63
|
+
openmc_data-2.3.1.dist-info/top_level.txt,sha256=ORU-aSVgJUNjwtVsqnZjP4tvU3QUZZpa-XF90ZnE4MQ,12
|
|
64
|
+
openmc_data-2.3.1.dist-info/RECORD,,
|
|
@@ -10,8 +10,8 @@ convert_mcnp70 = openmc_data.convert.convert_mcnp70:main
|
|
|
10
10
|
convert_mcnp71 = openmc_data.convert.convert_mcnp71:main
|
|
11
11
|
convert_tendl = openmc_data.convert.convert_tendl:main
|
|
12
12
|
convert_tendl_rand = openmc_data.other.convert_tendl_rand:main
|
|
13
|
+
download_chain = openmc_data.download.download_chain:main
|
|
13
14
|
download_endf = openmc_data.download.download_endf:main
|
|
14
|
-
download_endf_chain = openmc_data.download.download_endf_chain:main
|
|
15
15
|
download_tendl = openmc_data.download.download_tendl:main
|
|
16
16
|
generate_cendl = openmc_data.generate.generate_cendl:main
|
|
17
17
|
generate_endf = openmc_data.generate.generate_endf:main
|
|
File without changes
|
|
File without changes
|