amepproject / amep

The Active Matter Evaluation Package (AMEP) - a Python library for the analysis of particle-based and continuum simulation data of soft and active matter systems
https://amepproject.de/
GNU General Public License v3.0
9 stars 2 forks source link

BUG: Change of timestep does not lead to a change of the physical time #6

Closed descho00 closed 3 months ago

descho00 commented 3 months ago

Description:

A new timestep set by traj.dt = <timestep> does not affect traj.times.

Code for reproduction:

import amep
traj = amep.load.traj(<path-to-traj>)
traj.dt = <timestep>
print(traj.times)

Error message:

No response

Python and AMEP versions:

AMEP: 1.0.0 Python: 3.12.2

Additional information:

No response

How did you install AMEP?

conda

hechtprojects commented 3 months ago

@descho00 Thank you for reporting this bug! The fix will be part of patch release v1.0.1.