Skip to content

Commit

Permalink
minor fix in dcd reader
Browse files Browse the repository at this point in the history
  • Loading branch information
stefdoerr committed Dec 13, 2023
1 parent 5a09f3b commit d1acd0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moleculekit/readers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,7 @@ def DCDread(filename, frame=None, topoloc=None, stride=None, atom_indices=None):
if stride is None:
stride = 1
initial = 0
time = (stride * np.arange(len(xyz))) + initial
time = (stride * np.arange(xyz.shape[2])) + initial
return MolFactory.construct(
None,
Trajectory(
Expand Down

0 comments on commit d1acd0c

Please sign in to comment.