Skip to content

Commit e9a8e10

Browse files
committed
updated file name and cmd args
1 parent 29eee7f commit e9a8e10

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

.github/workflows/test_package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
7070
- name: Test download chain files scripts exist
7171
run: |
72-
download_endf_chain --help
72+
download_chain --help
7373
7474
- name: Test other scripts exist
7575
run: |

.github/workflows/test_processing.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,28 +112,29 @@ jobs:
112112
download_tendl -r 2019
113113
download_tendl -r 2021
114114
115-
- name: test default download_endf_chain
116-
if: contains(steps.changed-files-specific.outputs.modified_files, 'src/openmc_data/download/download_endf_chain.py')
115+
- name: test default download_chain
116+
if: contains(steps.changed-files-specific.outputs.modified_files, 'src/openmc_data/download/download_chain.py')
117117
run: |
118-
echo "download_endf_chain.py file has been modified."
119-
download_endf_chain -r b7.1 -b None
120-
download_endf_chain -r b8.0 -b None
121-
download_endf_chain -r b7.1 -b SFR
122-
download_endf_chain -r b8.0 -b SFR
123-
download_endf_chain -r b7.1 -b PWR
124-
download_endf_chain -r b8.0 -b PWR
118+
echo "download_chain.py file has been modified."
119+
download_chain -l endf -r b7.1 -b None
120+
download_chain -l endf -r b8.0 -b None
121+
download_chain -l endf -r b7.1 -b SFR
122+
download_chain -l endf -r b8.0 -b SFR
123+
download_chain -l endf -r b7.1 -b PWR
124+
download_chain -l endf -r b8.0 -b PWR
125+
download_chain -l endf -r b8.0 -b PWR
125126
126127
- name: test default add_branching_ratios
127128
if: contains(steps.changed-files-specific.outputs.modified_files, 'src/openmc_data/depletion/add_branching_ratios.py')
128129
run: |
129130
echo "add_branching_ratios.py file has been modified."
130-
download_endf_chain -r b8.0
131+
download_chain -l endf -r b8.0
131132
add_branching_ratios -i chain-endf-b8.0.xml -o chain_endf_b8.0_sfr.xml -b sfr
132133
add_branching_ratios -i chain-endf-b8.0.xml -o chain_endf_b8.0_pwr.xml -b pwr
133134
134135
- name: test default reduce_chain
135136
if: contains(steps.changed-files-specific.outputs.modified_files, 'src/openmc_data/depletion/reduce_chain.py')
136137
run: |
137138
echo "reduce_chain.py file has been modified."
138-
download_endf_chain -r b8.0
139+
download_chain -l endf -r b8.0
139140
reduce_chain -i chain-endf-b8.0.xml -o chain_endf_b8.0_sfr.xml -hl 1e15

0 commit comments

Comments
 (0)