From c3ffc2f4172c50be1bd37a73b5c7d39ea952f7f5 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 17 Mar 2020 16:49:53 -0500 Subject: [PATCH] Apply @pshriwise suggestions from code review Co-Authored-By: Patrick Shriwise --- examples/assembly/assembly.py | 4 ++-- examples/custom_source/show_flux.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/assembly/assembly.py b/examples/assembly/assembly.py index d4c8fe5b9..31984543a 100644 --- a/examples/assembly/assembly.py +++ b/examples/assembly/assembly.py @@ -58,7 +58,7 @@ def fuel_pin(): def guide_tube_pin(): - """Returns a control rode guide tube pin universe""" + """Returns a control rod guide tube universe.""" gt_inner_cell = openmc.Cell(fill=hot_water, region=-fuel_or) gt_clad_cell = openmc.Cell(fill=clad, region=+fuel_or & -clad_or) @@ -105,7 +105,7 @@ def assembly_model(): # Create a cell filled with the lattice main_cell = openmc.Cell(fill=assembly, region=outer_boundary) - # Finally, create geometry by giving a list of cells filling the root + # Finally, create geometry by providing a list of cells that fill the root # universe model.geometry = openmc.Geometry([main_cell]) diff --git a/examples/custom_source/show_flux.py b/examples/custom_source/show_flux.py index 9c49e1978..bf8ee4f81 100644 --- a/examples/custom_source/show_flux.py +++ b/examples/custom_source/show_flux.py @@ -15,4 +15,4 @@ plt.show() # If all worked well, you should see a ring "imprint" as well as a higher flux # to the right side (since the custom source has all particles moving in the -# positive x direction)) +# positive x direction)