Skip to content

Commit

Permalink
Reworded docs to get ready for minor release.
Browse files Browse the repository at this point in the history
  • Loading branch information
MicahGale committed Jul 15, 2024
1 parent e03d3c1 commit 91b8044
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -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`)
Expand Down
2 changes: 1 addition & 1 deletion montepy/input_parser/input_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion montepy/mcnp_problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 91b8044

Please sign in to comment.