Skip to content

Commit

Permalink
Merge pull request #417 from glotzerlab/document-_read_frame-return
Browse files Browse the repository at this point in the history
Document return type for `_read_frame`
  • Loading branch information
joaander authored Jan 30, 2025
2 parents 07be1df + 84b76ad commit 66590eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ Change Log

3.x
---
next (not yet released)
^^^^^^^^^^^^^^^^^^^^^^^
*Fixed:*

* Type hints for ``HoomdTrajectory._read_frame`` and downstream methods are now correct.

3.4.2 (2024-11-13)
^^^^^^^^^^^^^^^^^^
Expand Down
1 change: 1 addition & 0 deletions doc/credits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ The following people contributed to GSD.
* Charlotte Shiqi Zhao, University of Michigan
* Tim Moore, University of Michigan
* Joseph Burkhart, University of Michigan
* Jenna Bradley, University of Michigan
2 changes: 1 addition & 1 deletion gsd/hoomd.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ def _read_frame(self, idx):
idx (int): Frame index to read.
Returns:
`Frame` with the frame data
Frame : The frame data
Replace any data chunks not present in the given frame with either data
from frame 0, or initialize from default values if not in frame 0. Cache
Expand Down

0 comments on commit 66590eb

Please sign in to comment.