Apply suggestions from code review

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Andrew Johnson 2020-12-24 07:12:12 -08:00 committed by GitHub
parent dfd4624804
commit d72978ddf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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