From ae7ff201606ab7243061cc0ba605c4baa19d6493 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Mon, 28 Jun 2021 08:21:51 -0500 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Paul Romano --- docs/source/usersguide/troubleshoot.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/usersguide/troubleshoot.rst b/docs/source/usersguide/troubleshoot.rst index 259b21aa45..e5a68d6812 100644 --- a/docs/source/usersguide/troubleshoot.rst +++ b/docs/source/usersguide/troubleshoot.rst @@ -50,8 +50,8 @@ RuntimeError: Failed to open HDF5 file with mode 'w': summary.h5 This often occurs when working with the Python API and executing multiple OpenMC runs in a script. If an :class:`openmc.StatePoint` is open in the Python interpreter, -the file handle of the statpoint file as well as the linked `summary.h5` file will -be unavailable for writing, causing this error to appear. To avoid the situation, +the file handle of the statepoint file as well as the linked `summary.h5` file will +be unavailable for writing, causing this error to appear. To avoid this situation, it is recommended that data be extracted from statepoint files in a context manager: .. code-block:: python