Skip to content

Commit 75651ab

Browse files
Apply suggestions from code review
Co-authored-by: ElliottKasoar <45317199+ElliottKasoar@users.noreply.github.com>
1 parent 922c60e commit 75651ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

janus_core/cli/md.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def md(
331331
Keyword arguments to pass to post-processing. Default is None.
332332
correlation_kwargs
333333
Keyword arguments to pass for on-the-fly correlations. Default is None.
334-
seed : Optional[int]
334+
seed
335335
Random seed used by numpy.random and random functions, such as in Langevin.
336336
Default is None.
337337
log

janus_core/processing/observables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ def __init__(
245245
246246
Parameters
247247
----------
248-
components : list[str] | None
248+
components
249249
Symbols for returned velocity components, x, y, and z (default is all).
250-
atoms_slice : Union[list[int], SliceLike, None]
250+
atoms_slice
251251
List or slice of atoms to observe velocities from.
252252
"""
253253
ComponentMixin.__init__(self, components={"x": 0, "y": 1, "z": 2})

0 commit comments

Comments
 (0)