Skip to content

Commit

Permalink
[skip ci] Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell authored and github-actions[bot] committed Sep 12, 2023
1 parent d9f4800 commit b30b6b7
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions tests/test_slice_of_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
)




@pytest.fixture
def circular_source_simulation():
mesh = openmc.CylindricalMesh(
Expand Down Expand Up @@ -117,27 +115,21 @@ def point_source_simulation():
return my_tally_result



def test_rz_slice_of_data_point_simulation_normalization(point_source_simulation):
tally = point_source_simulation
mesh = tally.find_filter(openmc.MeshFilter).mesh
for slice_index in range(0, len(mesh.z_grid) -1):
for slice_index in range(0, len(mesh.z_grid) - 1):
plot_mesh_tally_phir_slice(tally=tally, slice_index=slice_index)
for slice_index in range(0, len(mesh.phi_grid) -1):
for slice_index in range(0, len(mesh.phi_grid) - 1):
plot_mesh_tally_rz_slice(tally=tally, slice_index=slice_index)




def test_phir_slice_of_data_circular_simulation_normalization(
circular_source_simulation,
):
tally = circular_source_simulation
mesh = tally.find_filter(openmc.MeshFilter).mesh
for slice_index in range(0, len(mesh.z_grid)-1):
for slice_index in range(0, len(mesh.z_grid) - 1):
plot_mesh_tally_phir_slice(tally=tally, slice_index=slice_index)
for slice_index in range(0, len(mesh.phi_grid)-1):
for slice_index in range(0, len(mesh.phi_grid) - 1):
plot_mesh_tally_rz_slice(tally=tally, slice_index=slice_index)



0 comments on commit b30b6b7

Please sign in to comment.