Skip to content

Commit 74af45b

Browse files
authored
fix import
1 parent 0446e8c commit 74af45b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
to_numpy_array,
2424
to_torch_tensor,
2525
)
26+
from scipy.stats import (
27+
special_ortho_group,
28+
)
2629

2730
from deepmd_gnn.mace import MaceModel
2831
from deepmd_gnn.nequip import NequipModel
@@ -545,9 +548,6 @@ def test_rot(self) -> None:
545548
spin = 0.1 * rng.random([natoms, 3])
546549
atype = np.array([0, 0, 0, 1, 1])
547550
shift = np.array([4.0, 4.0, 4.0])
548-
from scipy.stats import (
549-
special_ortho_group,
550-
)
551551

552552
rmat = special_ortho_group.rvs(3)
553553
coord_rot = np.matmul(coord, rmat)

0 commit comments

Comments
 (0)