Skip to content

Commit

Permalink
Merge branch 'simpler_2d_mesh_plotting' of github.com:fusion-energy/o…
Browse files Browse the repository at this point in the history
…penmc_regular_mesh_plotter into simpler_2d_mesh_plotting
  • Loading branch information
shimwell committed Nov 27, 2023
2 parents 237195d + 50faaa2 commit 6ebf668
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/openmc_regular_mesh_plotter/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ def plot_mesh_tally(

mesh = tally.find_filter(filter_type=openmc.MeshFilter).mesh
if not isinstance(mesh, openmc.RegularMesh):
raise NotImplemented(
f"Only RegularMesh are supported not {type(mesh)}"
)
raise NotImplemented(f"Only RegularMesh are supported not {type(mesh)}")

# if score is not specified and tally has a single score then we know which score to use
if score is None:
Expand Down

0 comments on commit 6ebf668

Please sign in to comment.