Skip to content

Commit

Permalink
fix: fix pyright check in ase and deepmd
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzyphysics committed Feb 21, 2024
1 parent fbd1ca7 commit e42c3bb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dpgen2/op/run_caly_model_devi.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
)

import numpy as np
from ase import (
from ase import ( # type: ignore
Atoms,
)
from ase.build import (
from ase.build import ( # type: ignore
make_supercell,
)
from ase.geometry import (
from ase.geometry import ( # type: ignore
cellpar_to_cell,
)
from ase.io import (
from ase.io import ( # type: ignore
read,
write,
)
Expand Down Expand Up @@ -89,7 +89,7 @@ def execute(
"""

from deepmd.infer import (
from deepmd.infer import ( # type: ignore

Check warning on line 92 in dpgen2/op/run_caly_model_devi.py

View check run for this annotation

Codecov / codecov/patch

dpgen2/op/run_caly_model_devi.py#L92

Added line #L92 was not covered by tests
DeepPot,
calc_model_devi,
)
Expand Down

0 comments on commit e42c3bb

Please sign in to comment.