From 78885ce17c562a06d41d1374c96147d4965614e0 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Thu, 17 Mar 2022 22:26:26 -0500 Subject: [PATCH] Add wwinp_to_wws to documentation --- docs/source/pythonapi/base.rst | 3 +-- openmc/weight_windows.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/source/pythonapi/base.rst b/docs/source/pythonapi/base.rst index 721f3d113..b471d12a8 100644 --- a/docs/source/pythonapi/base.rst +++ b/docs/source/pythonapi/base.rst @@ -27,14 +27,13 @@ Simulation Settings openmc.WeightWindows openmc.Settings -The following function can be used for generating a source file: - .. autosummary:: :toctree: generated :nosignatures: :template: myfunction.rst openmc.write_source_file + openmc.wwinp_to_wws Material Specification ---------------------- diff --git a/openmc/weight_windows.py b/openmc/weight_windows.py index fbd3c84ac..2e5b7d8e0 100644 --- a/openmc/weight_windows.py +++ b/openmc/weight_windows.py @@ -413,7 +413,7 @@ def wwinp_to_wws(path): Parameters ---------- - path : str or pathlib.Path object + path : str or pathlib.Path Path to the wwinp file Returns