kbsezginel/angstrom

Trajectory should be sliced correctly

Closed this issue · 0 comments

Example:

from angstrom import Trajectory

traj = Trajectory(read='traj.xyz')

# This should return a new Trajectory instance with only the first 10 frames
traj_short = traj[:10]