mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
move the depelteion regression tests to their own directories to avoid collection error
This commit is contained in:
parent
b02dcbd428
commit
bbec47e1e5
4 changed files with 3 additions and 3 deletions
|
|
@ -43,9 +43,9 @@ def test_full(run_in_tmpdir, vol_nuc, multiproc):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Create operator
|
# Create operator
|
||||||
micro_xs_file = Path(__file__).parents[3] / 'micro_xs_simple.csv'
|
micro_xs_file = Path(__file__).parents[2] / 'micro_xs_simple.csv'
|
||||||
micro_xs = FluxDepletionOperator.create_micro_xs_from_csv(micro_xs_file)
|
micro_xs = FluxDepletionOperator.create_micro_xs_from_csv(micro_xs_file)
|
||||||
chain_file = Path(__file__).parents[3] / 'chain_simple.xml'
|
chain_file = Path(__file__).parents[2] / 'chain_simple.xml'
|
||||||
flux = 1164719970082145.0 # flux from pincell example
|
flux = 1164719970082145.0 # flux from pincell example
|
||||||
op = FluxDepletionOperator(vol_nuc[0], vol_nuc[1], micro_xs, flux, chain_file, dilute_initial=0.0)
|
op = FluxDepletionOperator(vol_nuc[0], vol_nuc[1], micro_xs, flux, chain_file, dilute_initial=0.0)
|
||||||
|
|
||||||
|
|
@ -52,7 +52,7 @@ def test_full(run_in_tmpdir, problem, multiproc):
|
||||||
model = openmc.Model(geometry=geometry, settings=settings)
|
model = openmc.Model(geometry=geometry, settings=settings)
|
||||||
|
|
||||||
# Create operator
|
# Create operator
|
||||||
chain_file = Path(__file__).parents[3] / 'chain_simple.xml'
|
chain_file = Path(__file__).parents[2] / 'chain_simple.xml'
|
||||||
op = openmc.deplete.Operator(model, chain_file)
|
op = openmc.deplete.Operator(model, chain_file)
|
||||||
op.round_number = True
|
op.round_number = True
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue