Commit 8590b74a authored by Artem Pulkin's avatar Artem Pulkin
Browse files

workflows: fix prev in workflows

parent 825e9179
Pipeline #85410 passed with stages
in 20 minutes and 38 seconds
......@@ -1520,10 +1520,10 @@ class log_dynamics:
self.last_energies = None
self.history_size = history_size
def __call__(self, wrapper, images):
def __call__(self, wrapper, images, intro="Snapshot"):
cell = images.cell
if self.log is not None:
self.log.info("Snapshot")
self.log.info(intro)
distances = images.distances.data
if len(distances) > 0:
self.log.info(f" minimal interatomic distance: {self.units.repr1(distances.min(), 'length')}")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment