Skip to content

Commit 0fa0ad8

Browse files
committed
added endf chain file
1 parent 5694b5f commit 0fa0ad8

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Dockerfile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@
1616

1717
FROM continuumio/miniconda3:4.9.2 as dependencies
1818

19-
RUN pip install numpy==1.21.4
19+
# openmc is temporarily installed so that the cross sections xml file is
20+
# made by openmc_data_downloader and so that generate_endf71_chain can be run
21+
RUN conda install -c conda-forge openmc
22+
2023
# installs python packages and nuclear data
2124
RUN pip install openmc_data_downloader && \
2225
openmc_data_downloader -d nuclear_data -e all -i H3 -l ENDFB-7.1-NNDC TENDL-2019 -p neutron photon
26+
27+
RUN git clone https://github.com/openmc-dev/data.git
28+
RUN python data/depletion/generate_endf71_chain.py && \
29+
rm ENDF-B-VII.1-nfy.zip && \
30+
rm ENDF-B-VII.1-decay.zip && \
31+
rm ENDF-B-VII.1-neutrons.zip
32+
33+
RUN conda uninstall openmc

0 commit comments

Comments
 (0)