From 91b8044c2be5e9ef3ba05cc369e9251bd9e25206 Mon Sep 17 00:00:00 2001 From: "Micah D. Gale" Date: Mon, 15 Jul 2024 15:47:59 -0500 Subject: [PATCH] Reworded docs to get ready for minor release. --- doc/source/changelog.rst | 10 +++++++--- montepy/input_parser/input_file.py | 2 +- montepy/mcnp_problem.py | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index 6c956552..afad9507 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -1,12 +1,16 @@ MontePy Changelog ================= -0.2.10 ----------------------- -**Miscellanious Changes** +#Next Version# +--------------------- + +**Features Added** * ``overwrite`` argument added to `MCNP_Problem.write_to_file` to ensure files are only overwritten if the user really wants to do so (:pull:`443`). +0.2.10 +---------------------- + **Bug fixes** * Fixed bug with parsing tally segments (:issue:`377`) diff --git a/montepy/input_parser/input_file.py b/montepy/input_parser/input_file.py index a431c521..52240260 100644 --- a/montepy/input_parser/input_file.py +++ b/montepy/input_parser/input_file.py @@ -12,7 +12,7 @@ class MCNP_InputFile: .. Note:: this is a bare bones implementation to be fleshed out in the future. - .. versionchanged:: 0.2.11 + .. versionchanged:: 0.3.0 Added the overwrite attribute. :param path: the path to the input file diff --git a/montepy/mcnp_problem.py b/montepy/mcnp_problem.py index d70874b8..403e501b 100644 --- a/montepy/mcnp_problem.py +++ b/montepy/mcnp_problem.py @@ -394,7 +394,7 @@ def write_to_file(self, new_problem, overwrite=False): """ Writes the problem to a file. - .. versionchanged:: 0.2.11 + .. versionchanged:: 0.3.0 The overwrite parameter was added. :param new_problem: the file name to write this problem to