Skip to content

Commit aa01708

Browse files
committed
fix docsting format
1 parent f22e553 commit aa01708

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dpdata/plugins/ase.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ def from_labeled_system(self, atoms: ase.Atoms, **kwargs) -> dict:
6262
"""Convert ase.Atoms to a LabeledSystem. Energies and forces
6363
are calculated by the calculator.
6464
65-
Note that this method will try to load virial from the following sources:
66-
- atoms.info['virial']
67-
- converted from stress tensor
65+
Note that this method will try to load virials from either virial field or converted from stress tensor.
6866
6967
Parameters
7068
----------

0 commit comments

Comments
 (0)