From d72978ddf79c12a7ad6f06230f4746d812c95c5d Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 24 Dec 2020 07:12:12 -0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Paul Romano --- openmc/deplete/results_list.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openmc/deplete/results_list.py b/openmc/deplete/results_list.py index 708fb83cda..bd02d576e5 100644 --- a/openmc/deplete/results_list.py +++ b/openmc/deplete/results_list.py @@ -200,6 +200,9 @@ class ResultsList(list): def get_times(self, time_units="d") -> np.ndarray: """Return the points in time that define the depletion schedule + + .. versionadded:: 0.12.1 + Parameters ---------- time_units : {"s", "d", "h", "min"}, optional @@ -246,6 +249,9 @@ class ResultsList(list): Passing ``atol=math.inf`` and ``rtol=math.inf`` will return the closest index to the requested point. + + .. versionadded:: 0.12.1 + Parameters ---------- time : float